Trip
Trip

Reputation: 27114

Strange float bug

Anyone know why these <li> tags that contain the thumbnail pictures are not stacking up appropriately?

This is blowing my mind away.

http://hqinternetsolutions.com/Websites/NuPhase/index.php?id=4

All the floats, are right, and there's enough width.

Update

I'm using Firefox 6.0

Upvotes: 0

Views: 57

Answers (1)

thirtydot
thirtydot

Reputation: 228162

There's nothing strange here - the behaviour is expected.

Most of your lis have a computed height of 58px. However, some of them are slightly different, for example 64px or 57px. The reason for this is that some of the images are a different height.

The best fix is to simply make all the images the same height.

Upvotes: 2

Related Questions