Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Apr 2006
    Posts
    50
    Thanks
    2
    Thanked 0 Times in 0 Posts

    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.

  • #2
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,300
    Thanks
    28
    Thanked 275 Times in 269 Posts
    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.
    For every complex problem, there is an answer that is clear, simple, and wrong.

  • #3
    New Coder
    Join Date
    Apr 2006
    Posts
    50
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Thanks alot! Why would banner.jpg be blocked by AdBlock?
    Last edited by xxkylexx; 05-23-2007 at 10:32 PM.

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    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!||||


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •