Previous Message
Next Message

[css-d] IE won't float blocks in lists? (CSS skins for

Sent by Mike Combs on 19 March 2003 16:04


You da man! I guess I had a blind spot on this one -- it never occurred to 
me to apply any formatting to <li>.

Thanks!

At 10:56 AM 3/19/2003, Jason Estes wrote:
> > I'm trying to represent our main menu semantically as a list
> > of links, but
> > visually as a horizontal row of tabs.  Something like this:
> >
> > * home
> > * section 1
> > * section 2
> >
>
>
>Mike,
>         I got this to work (in IE6/PC and Moz 1.2/PC) by adding this code :
>
>div.tabs4 ul {
>         font-size: 80%;
>         list-style-type: none;
>         padding: 0px; margin: 0px;
>         display:inline;
>}
>li {display:inline}
>
>basically I added an inline style to the UL and added and li display:inline
>tag.
>
>That worked for me.
>
>Good luck
>Jason
Previous Message
Next Message

Message thread: