Question: HTML/CSS questions 1. Write code to define default styles for all page body elements to use font family of Verdana, Geneva, and sans-serif, and make
HTML/CSS questions
1. Write code to define default styles for all page body elements to use font family of Verdana, Geneva, and sans-serif, and make the line height of 1.2em.
2. Write a style rule to float all figure boxes on the right margin when nested within an article element.
3. Set the margins around a paragraph element to be: top=5; bottom=5; right=10; left=10. . The unit of measurement is in pixels.
4. Write a HTML portion of the code for the following situation: 25% 75% 33% 33% 33%
5. Write the CSS portion of the code.
6. Write the CSS code for Grid Rows. see p. 209 fig. 3-34 for example.
7. Write a style rule to display every footer element with 5-pixel solid red bottom border.
8. Provide a style rule to place an element with the id logo at the coordinates (150, 75) using absolute positioning.
9. A navigation list has been set with a height of 300 pixels. Provide a style rule to show scroll bars only if there are too many entries in the navigation list to display within the space provided.
10. One element has a z-index value of 1; a second element has a z-index value of 5. Which element will be displayed on top, assuming the parents are same.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
