WeLoveCSS Logo
Home Profile Members Search Rules Help New Posts



WeLoveCSS > WEB DESIGN > CSS > [SOLVED] Problem with clear float, form code lining up

Reply
  Thread Tools Display Modes
Old 16th May 11, 08:00 PM   #1
sandj
WLC Member
 
Join Date: May 2011
Posts: 2
Default Problem with clear float, form code lining up

Link:
http://tinyurl.com/hpcode0516

I can't get the form to go to the top of the page in the main content. It clears the items in the left sidebar. If I remove the clears, the form is messed up and on top of each other in Chrome and IE9.

Does anyone see a width or other coding problem somewhere that would solve this? I used a Wufoo form, grabbed the code and pasted it on the page. All seemed to work except it clears the left items and leaves a big gap.

Great forum. Thanks!
sandj is offline   Reply With Quote
Old 16th May 11, 09:49 PM   #2
rkrause
WLC Mod
 
Join Date: Sep 2009
Posts: 893
Default Re: Problem with clear float, form code lining up

Hi,

Remove the margin(155px) on the #maincontent and use float:left; instead.

Ryan.
rkrause is offline   Reply With Quote
Old 16th May 11, 09:59 PM   #3
sandj
WLC Member
 
Join Date: May 2011
Posts: 2
Default Re: Problem with clear float, form code lining up

That did it. Thanks for your help!
sandj is offline   Reply With Quote
Reply


Thread Tools
Display Modes
Linear Mode Linear Mode

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. The time now is 04:49 PM.



Home | Advertise | Contact Us | Top
Home | Advertise | Contact Us | Top

Copyrightę 2006 WeLoveCSS.com. All Rights Reserved.
Powered by vBulletin Version 3.8.4 Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.