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!

Reply
XHTML help, cols wont sit next to each other in IE
Old 03-07-2006, 07:26 AM XHTML help, cols wont sit next to each other in IE
Junior Talker

Posts: 4
Location: sw london
Trades: 0
Hi all, im completely stuck. I am building a site in XHTML and i need the sidebar to sit left and the content div to sit on the right. I cannot just float them both as i need the main content div to be in the containing div for a background image to display.

My current code works in firefox with no problems, however in IE the right column sits underneath the floated left column!!

Can anyone help? for example code please see here

The relevant CSS is:
Code:
#container {
	width: 718px;
	background: url(../images/side_bg.gif) repeat-y left;
	padding:10px 0 0 32px;
}
#content {
	margin-left: 210px;
	margin-top:10px;
	width:508px;
}
#sidebar {
	width: 180px;
	float: left;
}
Dean is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-07-2006, 07:44 AM Re: XHTML help, cols wont sit next to each other in IE
Junior Talker

Posts: 4
Location: sw london
Trades: 0
Sorry just realised its in the wrong section, didn'd see the CSS forum
Dean is offline
Reply With Quote
View Public Profile
 
Old 03-07-2006, 09:05 AM Re: XHTML help, cols wont sit next to each other in IE
metho's Avatar
Ultra Talker

Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
Trades: 0
Seems to look fine in IE - is the issue resolved?
__________________
I do
Please login or register to view this content. Registration is FREE
based.
Spend a lot of time in
Please login or register to view this content. Registration is FREE
.
And
Please login or register to view this content. Registration is FREE
chews up the rest.
metho is offline
Reply With Quote
View Public Profile Visit metho's homepage!
 
Old 03-07-2006, 09:07 AM Re: XHTML help, cols wont sit next to each other in IE
Junior Talker

Posts: 4
Location: sw london
Trades: 0
sorry, yes i have just fixed the problem in IE. It was the issue with the box model and the use of margins making the box bigger that it actually is.
Dean is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to XHTML help, cols wont sit next to each other in IE
 

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 0.13428 seconds with 12 queries