:: a z y u r e . c o m ::

Archive for September, 2009

Weird first list item indent IE 6/7 – fix!

by azyure on Sep.03, 2009, under code bits

For some reason – IE 6/7 has a bug *sometimes* of making the first item of a list indented *RANDOM*

so your list looks like this:

<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>

Which will end up looking something like this (yes I just dummied it to look like this – it’s not the actual error):

  • Item 1
  • Item 2
  • Item 3

To fix it:

ul{
min-height: 1%;
}

ta da!
:)

Leave a Comment more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...