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 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jan 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Element being pushed down ???

    augustacarenetwork(dot)com

    The main content box is being pushed down for no apparent reason - well, I'm sure there's a reason. I think I just need a second set of eyes to give mine a rest.

    Any suggestions/fixes/ideas/myster solvers? Thanks.

  • #2
    New to the CF scene
    Join Date
    Jan 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Resolved:

    Always remember kids, floated elements should appear BEFORE the elements in which you would like for the floated element to float. Also, be sure to assign a width to your floated element, otherwise it pushes everything else down...

    Impressive.

  • #3
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,737
    Thanks
    22
    Thanked 1,836 Times in 1,820 Posts
    Hello splice,
    That is an awfully large background image that is only giving you white background. You could crop that header off it, use that as a background of #header and just use a #fff background on #container for a better affect.

    Instead of using extra markup for clearing your floats, have a look at this method.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad


  •  

    Posting Permissions

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