li bullets displaying in wrong place in IE

March 13, 2009

If the bullets are showing at the bottom rather than the top of your list items in Internet Explorer and ok in Firefox, then most likely your <li> items have a property called “layout”. The hasLayout property gets set by IE depending on the css and can’t be changed directly – the few times it’s happened to me (with css written by someone else), I’ve fixed it by removing “li { display: inline-block; }” from the css.

You can find a detailed explanation of the hasLayout property on http://www.satzansatz.de/cssd/onhavinglayout.html

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: