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 01-03-2010, 02:59 AM   PM User | #1
splice
New to the CF scene

 
Join Date: Jan 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
splice is an unknown quantity at this point
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.
splice is offline   Reply With Quote
Old 01-03-2010, 03:27 AM   PM User | #2
splice
New to the CF scene

 
Join Date: Jan 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
splice is an unknown quantity at this point
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.
splice is offline   Reply With Quote
Old 01-03-2010, 03:40 AM   PM User | #3
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
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
Excavator 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:04 AM.


Advertisement
Log in to turn off these ads.