Ask Question
9 August, 16:22

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?

+5
Answers (1)
  1. 9 August, 18:20
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers