View Full Version : New Line Alignment Problem

05-23-2007, 06:11 PM
Hey guys,
I'm having trouble getting a new line to work here.

You can view the problem here:
Click Me (http://starcraftzone.com/game-information/starcraft2-buildings/)

The first three building profiles are the ones messed up.

I want the first three to look like the others (need to view with Firefox to see the proper alignment of the others), but without having to use tons of <br />'s to fix the problem (this still causes problems with needing more <br />'s in IE opposed to Firefox, etc). The floated image is making them do what they do, I assume.

Any idea on how I can get the profile below it's previous to start at a new line instead of aligning up next to the image?


05-23-2007, 08:33 PM
h5 { clear: left; }The clear property forces an element (and subsequent elements) to appear below (to clear) the nearest prior float in the indicated direction (in this case, left floats).

As a side note, I would rename your banner image to something else. My Adblock extension blocked it.

05-23-2007, 10:29 PM
Thanks alot! Why would banner.jpg be blocked by AdBlock?

05-23-2007, 10:39 PM
Because its one of the defaults that gets blocked and umm let me think most of the time a banner is an ad...