Previous Message
Next Message

Re: [css-d] div:hover?

Sent by Eric A. Meyer on 11 June 2002 18:06


At 18:11 -0400 6/11/02, Porter Glendinning wrote:

>In a related vein, I'd been playing with something similar for a 
>CSS-only horizontal menubar, and now I simply /must/ upload it to my 
>workshop.  :)
>
>     http://www.serve.com/apg/workshop/cssMenu.html

    Yep, that was the next thing I was going to try-- well, I would 
have used different markup, but the idea was the same.  Very nice!  I 
probably wouldn't have made it so attractive in my first pass. 
What's even cooler is that going from a layout like mine to a layout 
like Porter's would require nothing more than an alternate 
stylesheet-- the markup would stay the same.
    Hmmm... actually, as I look at your markup, Porter, I think you're 
on to something there.  Using lists to create the submenus makes a 
LOT more sense that the mess of DIVs I've been wrangling.
    Speaking of which, for those who are interested, I've updated the 
css/edge menus demo to show two-level nested menus.  The markup gets 
a lot more convoluted a lot more quickly-- thus the aforementioned 
mess o' DIVs-- but it isn't too bad.  I plan to make it a lot 
prettier (and more useful) before the weekend, and get it public 
before Sunday.  I think that once I take a cue from Porter and 
convert the markup for these menus to lists, the markup will simplify 
and become a lot more backwards-compatible all at once.  Oh, too 
cool...

--
Eric A. Meyer (http://www.meyerweb.com/eric/), List Chaperone
"CSS is much too interesting and elegant to be not taken seriously."
   -- Martina Kosloff (http://www.mako4css.com/)
Previous Message
Next Message

Message thread: