Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Closed Thread
Old 02-23-2011, 04:24 AM Floated divs
Super Talker

Posts: 142
Name: Jim
Location: Nottinghamshire
Trades: 0
Hi

I have a problem in IE7 with a 2 column liquid layout, it consists of

<div ="wrapper">
<div ="header">xxx</div>
<div ="form">floated left</div>
<div ="content">margin left 220</div>
<div ="footer">clear both</div>
</div>

It works fine in firefox but in IE7 the content div is sitting under the form div, its on the right side of the page but should be level with the form div.

Any ideas I assume there is a common fix
jim25 is offline
View Public Profile Visit jim25's homepage!
 
 
Register now for full access!
Old 02-23-2011, 11:58 AM Re: Floated divs
Skilled Talker

Posts: 50
Trades: 0
See if this works how you want.
Code:
#wrapper {width:100%; background-color:#0C0}
#header {width:100%; background-color:#066; height:60px}
#form {float:left; background-color:#933; width:50%}
#content {float:left; background-color:#99C; width:40%; margin-left:10%}
#footer {width:100%; clear:both;}
you missed class or id from the div

Last edited by HullBorn; 02-23-2011 at 12:00 PM..
HullBorn is offline
View Public Profile
 
Old 02-24-2011, 05:16 AM Re: Floated divs
Super Talker

Posts: 142
Name: Jim
Location: Nottinghamshire
Trades: 0
Thanks for the help I think I've cracked it, I was changing the template you see so I just copied the content straight in there was a table structure inside that was somehow braking the layout. I removed the table and put the content back in without markup and it worked.
jim25 is offline
View Public Profile Visit jim25's homepage!
 
Closed Thread     « Reply to Floated divs
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.20963 seconds with 12 queries