Ask Question
24 July, 20:15

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?

+1
Answers (1)
  1. 24 July, 21:39
    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?
Get 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 there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers