Archive for July, 2009

Creating Menus with CSS

Thursday, July 9th, 2009

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... »

Tags: , , ,
Posted in Uncategorized | Comments Off

Layers in CSS

Saturday, July 4th, 2009

You modify the menu_system.css style sheet in two key areas. The first modification involved controlling the layering of the JT’s logo, so that the JT’s logo is always on top. To do this, you apply a z-index: 1; declaration to the rule for the JT’s logo. This demonstrates that an integer provided to the... »

Tags: , , ,
Posted in Uncategorized | Comments Off

Background Formatting with CSS

Wednesday, July 1st, 2009

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... »

Tags: , , ,
Posted in Uncategorized | Comments Off