Previous Message
Next Message

Re: [css-d] horizontal menu

Sent by Mark Newhouse on 4 June 2002 13:01


Marek:

> I've just completed a couple of samples of horizontal menus
> based on a simple HTML list (UL). Because I'm going to use these
> samples in my next book about CSS, I'd appreciate your comments
> and suggestions, not only about browser compatibility, but also
> about coding style, etc.

Interesting solution. I've used display: inline for lists, with a similar
effect. You can see it in use (along with a nice snap of list member Dunstan
Orchard) at:

http://homepage.mac.com/iblog/0204.html

Also I described its use here (near the end of the article):

http://www.alistapart.com/stories/practicalcss/

Benefits of this technique are that you don't have to worry about any float
bugs and it doesn't require a <br clear="all"> because nothing is floating.
You should still be bale to apply the other styles that you have in your
example.

HTH,

--Mark Newhouse
  We put the "blah" in blog...
  <http://homepage.mac.com/iblog/>
Previous Message
Next Message

Message thread: