Jan bespaketh on Wednesday, July 02, 2003 5:07 PM: > Rudy > Ok, this is funny, I'm reading the info at this link > > http://www.projectseven.com/tutorials/css_menus/list_01/ > > and although the subject is CSS navigation menus, the author is using > images in his nav menu. That's not so convincing right! > > Jan
CSS is meant to apply Style to MarkUp. This includes but is not limited to graphics, color, and layout. In the instance you site, CSS is used to place a background image. The advantage: Lets pretend Johnny Developer has implemented this very solution and then flash forward to 6 or 12 months in the future. Johnny's project manager has decided it's time to freshen the look of the site. Part of this will include changing the navigation. Since Johnny thought ahead and used CSS to declare a background image for list items contained within an unordered list which has the id of 'nav' (rather than nesting images inside of a table for layout), Johnny doesn't need to touch the mark up at all. Johnny can change the graphics and alter the styles and suddenly his site changes unilaterally. Thank goodness Johnny didn't use structural markup, he just saved himself a weeks worth of work. -Stephen http://www.mechavox.com p.s. My site uses a valid fully CSS layout and you're welcome to plunder through my stylesheets. ____ � The WDVL Discussion List from WDVL.COM � ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
