Neco 2024 Computer Studies Question 7
Practice objective / multiple choice question 7 from the 2024 Neco Computer Studies examination.
A web page has a viewport width of 1200\,px. A container div with id "outer" is set to width 80\% of the viewport. Inside it, a div with class "inner" has width 50\% of its parent, padding of 10\,px on each side, a border of 2\,px, and a horizontal margin equal to 5\% of the outer div's width. What is the final rendered width of the inner div in pixels? Additionally, given the following CSS rules: p { color: red; } .article p { color: blue; } #main .article p { color: green; } and the HTML structure Sample
, what color will the paragraph text appear?
Sample
Answer Options
About This Question
This is Neco 2024 Computer Studies Question 7. It is one of the objective questions from the 2024 Neco Computer Studies examination.
Difficulty level: Hard .
Master the Exam!
You've seen a preview, but there are thousands more questions plus AI tutor to break down complex solutions.