Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-23-2007, 06:11 PM   PM User | #1
xxkylexx
New Coder

 
Join Date: Apr 2006
Posts: 50
Thanks: 2
Thanked 0 Times in 0 Posts
xxkylexx is an unknown quantity at this point
New Line Alignment Problem

Hey guys,
I'm having trouble getting a new line to work here.

You can view the problem here:
Click Me

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?


Thanks,
Kyle

Last edited by xxkylexx; 05-23-2007 at 07:01 PM..
xxkylexx is offline   Reply With Quote
Old 05-23-2007, 08:33 PM   PM User | #2
Arbitrator
Senior Coder

 
Arbitrator's Avatar
 
Join Date: Mar 2006
Location: Splendora, Texas, United States of America
Posts: 2,887
Thanks: 5
Thanked 186 Times in 183 Posts
Arbitrator is on a distinguished road
Code:
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.
__________________
Please for the love of god stop making IE. You current "browser"s cause me to cry every day. —Phil *
Arbitrator is offline   Reply With Quote
Old 05-23-2007, 10:29 PM   PM User | #3
xxkylexx
New Coder

 
Join Date: Apr 2006
Posts: 50
Thanks: 2
Thanked 0 Times in 0 Posts
xxkylexx is an unknown quantity at this point
Thanks alot! Why would banner.jpg be blocked by AdBlock?

Last edited by xxkylexx; 05-23-2007 at 10:32 PM..
xxkylexx is offline   Reply With Quote
Old 05-23-2007, 10:39 PM   PM User | #4
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
Because its one of the defaults that gets blocked and umm let me think most of the time a banner is an ad...
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
_Aerospace_Eng_ is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:51 AM.


Advertisement
Log in to turn off these ads.