Ask Question

Read the following block of CSS code, and then answer the question. body { position: relative; left: 50px; top: 50px; } What effect would this code have on the display of a box?

+4
Answers (1)
  1. 3 May, 15:52
    0
    Well, this code would box the whole body of an html document. By using the relative value for position, you are telling it to position relative to its normal position, which the top left corner is at (0,0). By using left:50px, you are telling the box to set the left margin edge to 50px and by using top:50px, you are telling it to set the top margin edge to 50px. By doing this shifting, the top left corner of the box, which is at (0,0) would be positioned at (50,50)
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Read the following block of CSS code, and then answer the question. body { position: relative; left: 50px; top: 50px; } What effect would ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers