Div Float Help

Show off new creations, get help, or just chat about all aspects of web development and design.

Re: Div Float Help

Postby Blink on Mon Jul 13, 2009 9:59 pm

Oh okay,

The reason that bit is down at the bottom right is because it doesn't have enough room to be adjacent to the content. If you float two objects side by side then the container has to have enough room to acommodate the two floated divs. You need to add padding, margins and borders to the total width.

In your case, set the margin to 10px on the #rightcont and it will pop back up to where it should be.
User avatar
Cool 'n that
Cool 'n that
Joined: Fri Oct 08, 2004 4:16 pm
Location: UK

Re: Div Float Help

Postby Imoddedu on Mon Jul 13, 2009 10:13 pm

Thank you blink, you are god in web design.
Joined: Thu Jun 25, 2009 8:06 pm

Return to Web Design & Development

Who is online

Users browsing this forum: No registered users