Forums: Front End:

 

bullet vertical align in IE 6- help!

first
 

mclarkson bullet vertical align in IE 6- help!

I'm doing a project for IE6 and I'm having trouble with my bullet alignment. The ul bullets sit too high against the text, as though they were super-scripted. I've tried this, that, and the other thing but my CSS skillz are not up to whatever the heck is going on here.

Here's an example:


IE6 is on the left; all other browsers on the right. How do I kick these darn bullets down a bit and make them line up properly?

ul li {
display: list-item;
list-style-type:disc;
vertical-align:text-top;
}


Danke.

Could you, would you, with a goat?
quote
 

the real me

that is annoying but i'm not sure of the fix. i normally just live with it.

 

Tha.Riddla

have you tried setting/adjusting your line height?

line-height:

 

mclarkson

line-height adjusts the height of the entire bullet + text, so it doesn't actually help. frown

Could you, would you, with a goat?
quote
 

Technomancer

Not sure about this 100% but try something like



ul li {
display: list-item;
list-style-type:disc;
vertical-align:text-top;
}

<!--[if IE 6]>

ul {
position: relative;
top:-.5em}

li {
vertical-align: top;
position: relative;
top: .5em}
<![endif]-->


Everyone should believe in something
I believe I'll have another drink
quote
 

mclarkson

I'll give it a shot, Sir.

Could you, would you, with a goat?
quote
 

ernieweaselfat

A list apart - Taming lists

This is my bible for any list related CSS issues. It should help you out.

 

JERKSTORE

I've never before had that problem with lists in IE.
I've also never used "vertical-align:text-top;"

Coincidence?

 
first
 

Forums: Front End: bullet vertical align in IE 6- help!

 
New Post
 
You must be logged in to post