[thelist] CSS Nav Woes
Tony Crockford
tonyc at boldfish.co.uk
Sun Jan 11 06:21:12 CST 2004
On Sat, 10 Jan 2004 20:16:40 -0600, Russ
<russ at unrealisticexpectations.com> wrote:
> Thanks for the effort, Tony--but I don't think that's it.
>
> I'm still digging and still hoping to understand why this is
> happening--and more importanly how to resolve it.
>
> Thanks again! Anyone else?
10 minutes tinkering indicates that IE won't do a full border unless you
specify display: block, My guess is that IE won't apply full borders to
inline elements such as <a>.
Interestingly IE6 seems to understand display: inline-block which means
you can have your borders and horizontal spacing.
The way I normally get a nav menu with block borders is by using a <ul>
and styling the <li>.
see:
http://css.maxdesign.com.au/listutorial/horizontal_master.htm
hth
Tony
--
listening to: "if you don't know me by now" by David Brent
http://www.xebit.net/
More information about the thelist
mailing list