TwelvestoneFront End

bullet vertical align in IE 6- help!


Sign in

  • Waiting for Godot ( 730 k posts )
    Just conversation.
  • Thunder Dome ( 23 k posts )
    Photoshop Tennis and Collabs.
  • Photography ( 5.1 k posts )
    For all you shutterbugs, sh...
  • Flash ( 18 k posts )
    ActionScripting to tweens, ...
  • Front End ( 5.9 k posts )
    general front end design an...
  • Back End ( 9.7 k posts )
    serverside scripting, progr...
  • Projects and Theory ( 12 k posts )
    This forum is for discussio...
  • FAQ ( 269 posts )
    All those nagging questions...
  • Design ( 17 k posts )
    graphics & all aspects of g...
  • Purgatory ( 3.6 k posts )
    12stone Jail, feel free to ...
Candy Beard
 
2008-04-30

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: http://markclarkson.com/Temp/ie6-bullets.gif

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.

the real me
 
2008-05-01

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

Tha.Riddla
 
2008-05-01

have you tried setting/adjusting your line height?

line-height:

Candy Beard
 
2008-05-01

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

Technomancer
 
2008-05-01

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]-->

Candy Beard
 
2008-05-01

I'll give it a shot, Sir.

Big Ern
 
2008-05-01

A list apart - Taming lists

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

JERKSTORE
 
2008-05-01

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

Coincidence?

fleen
 
2009-07-05

I created a bullet specifically for IE with some whitespace above the bullet... <!--[if IE 6]>

li { list-style-image: url(/joomla15/templates/jackyblakeway/images/pinkbulletie.gif); }

ul { margin: 0px 0px 15px; padding: 0px; list-style-image: url(/joomla15/templates/jackyblakeway/images/pinkbulletie.gif); } <![endif]-->

scudsucker
 
2009-07-06

I use fleen's method too.

Edit - oops, didnt realise the thread was so old.

Candy Beard
 
2009-07-06

Thankfully, I've never had to develop for IE 6 since.

Sorry, you must be a member to post to a conversation. Either log in or sign up to get involved.
TwelvestoneFront End

bullet vertical align in IE 6- help!