Tag Archive
Creating Menus with CSS
The second round of modifications to the menu_style.css style sheet in this example involves making each list of navigation links into drop-down menus. First a display: none; declaration is supplied to the ul.menu selector to hide all the menus. The display: none; declaration prevents the browser from rendering the menu <ul> elements. Then, the... »
Background Formatting with CSS
The first <div> in the sequence of four is given a light yellow background and some basic dimensions and properties that also apply to the other <div> elements. Then, by using the adjacent sibling selector, I select the subsequent <div> elements and provide those with different backgrounds and a decrementing z-index value. This results... »