The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Strange reaction to setting display:inline width
I have items in a ul I want inline and to have a specific width. I my menu this way:
#menu li a
This works great. No problems in any browser. The li’s line up and the a tags allow me to set my widths.
I’m working on a table like layout and need the same thing but with out links so I did this:
#list li span
Works in firefox and chrome. However, IE (of course) only displays them as a block element.
I’m doing my menu the same way it works fine. Any ideas?
yeah, i found one line that I meant to removed when I was testing something else.
I forgot i had an element with clear:both in it. Once I removed it everything worked.