[thelist] Why do we say what we say?
ben morrison
morrison.ben at gmail.com
Thu Oct 25 10:12:04 CDT 2007
> the "unwanted space in some browsers" is definitely a real issue for
> ie6 (not sure about ie7) with lists. ie6 will see the carriage return
> after a <li>item</li> line as being a space and put
> margin/padding/whatever between your list items unless you do
> something similar to what you posted. i've had it happen to me during
> development, and i wish i had a sample laying around i could show you.
> iirc i solved this through some ie-only css, but the above method
> takes care of it as well.
IE 6 does have issues with whitespace, however I would never have the
closing > on the next line, maybe remove the carriage return
altogether for Lists, although this can generally be resolved by
setting hasLayout on the LI elements.
ben
--
Ben Morrison
http://www.benjaminmorrison.com
More information about the thelist
mailing list