styling list for navigation



What's the current wisdom on styling lists for navigation. What I'd like is for:

links and background colors to be 100% of the width.
multi-line OK (ie links will wrap). Padding OK. Same width in IE as other browsers

I'm finding that IE differs from conforming browsers in the way it calculates width after adding padding (yes, strict doctype.) I have a feeling that things have moved on fro the old ListAPart article on this.

Also, I thought IE6 had no trouble with margin auto on a fixed width (with strict), but I'm having trouble with that and have resorted to the old text-align hack.

Jeff
.



Relevant Pages

  • Re: DIVs rendering incorrectly in IE vs Firefox/Chrome
    ... It appears as though the padding and margin are both contributing ... Put it in strict (google 4.01 strict doctype and ... You have 4 stylesheets and enumerable class definitions. ... Killing all posts from Google Groups ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: DIVs rendering incorrectly in IE vs Firefox/Chrome
    ... It appears as though the padding and margin are both contributing ... What's odd is that the border properties are following the ... My website and code can be ... Put it in strict (google 4.01 strict doctype and level the playing field. ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: OT- website design WAS Re: website updates...whatcha think?
    ... IE5 Mac. ... The main problem with IE 5 and 6 is that they add the margins and ... padding together, so it can really get you in trouble. ...
    (rec.equestrian)
  • Re: styling list for navigation
    ... Bergamot wrote: ... calculates width after adding padding (yes, strict doctype.) ... You must be triggering quirks mode. ...
    (comp.infosystems.www.authoring.stylesheets)