[SOLVED] IE6 is not rendering my columns correctly

This is a discussion on "[SOLVED] IE6 is not rendering my columns correctly" within the Web Page Design section. This forum, and the thread "[SOLVED] IE6 is not rendering my columns correctly are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jan 12th, 2008, 15:40
Oak's Avatar
Oak Oak is offline
SuperMember

SuperMember
Join Date: Dec 2007
Location: London
Age: 35
Posts: 289
Thanks: 6
Thanked 0 Times in 0 Posts
[SOLVED] IE6 is not rendering my columns correctly

IE6 is not rendering my columns correctly.

I had this problem before, it was solved by adding some code. It is now a problem again and the code aint fixing it?

www.capoeiracanal.co.uk

This is the reply to my last call for help:

IE6 is not rendering the columns correctly, this is most likely due to the IE 6 float margin bug. Fix it by applying

Code:

display: inline; to the floated divs. If this still does not solve the problem, try tweaking the widths.


Thanks People

Last edited by Oak; Jan 12th, 2008 at 21:02.
Reply With Quote

  #2 (permalink)  
Old Jan 13th, 2008, 12:34
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: IE6 is not rendering my columns correctly

IE6 isn't liking your margin-left: 25px on the div called background-wrapper.

You could try reducing that amount of pixels to allow room for the other div to come up.

Also on the #about, float that right and see if that helps.

But I think you are going to have to reduce the margin-left. You simply do not have enough room for two columns.
Reply With Quote
  #3 (permalink)  
Old Jan 13th, 2008, 13:14
Oak's Avatar
Oak Oak is offline
SuperMember

SuperMember
Join Date: Dec 2007
Location: London
Age: 35
Posts: 289
Thanks: 6
Thanked 0 Times in 0 Posts
Re: IE6 is not rendering my columns correctly

Hi


Thanks, will give it a go.

Is the way of adding IE6 to my computer while I have IE7 running so I can do the test from home?

I tried removing IE7 but it don't want to go.. other programmes will be affected.
Reply With Quote
  #4 (permalink)  
Old Jan 13th, 2008, 13:56
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: IE6 is not rendering my columns correctly

You can install multiple IE's. Follow this link!
Reply With Quote
  #5 (permalink)  
Old Jan 13th, 2008, 13:59
Oak's Avatar
Oak Oak is offline
SuperMember

SuperMember
Join Date: Dec 2007
Location: London
Age: 35
Posts: 289
Thanks: 6
Thanked 0 Times in 0 Posts
Re: IE6 is not rendering my columns correctly

True gold dust!
Reply With Quote
  #6 (permalink)  
Old Jan 13th, 2008, 15:42
Oak's Avatar
Oak Oak is offline
SuperMember

SuperMember
Join Date: Dec 2007
Location: London
Age: 35
Posts: 289
Thanks: 6
Thanked 0 Times in 0 Posts
Re: IE6 is not rendering my columns correctly

Well getting IE6 set up on my computer from that link was about the easiest thing I have done all day!

Ok, I can get the columns to set up fine in IE6 now by reducing Margin- left, but then it's out of place in FF.

#about
{
float: left;
position: relative;
margin-left: 5px; (was 25px)
margin-right: 1px;
top: 0px;
width: 435px;
text-align: left;
overflow: visible;
text-decoration: none;


This is strange, the margin says 5px, clearly it is more than that when viewed in IE6. FF displays it as a true Margin-5px.

Last edited by Oak; Jan 13th, 2008 at 17:28.
Reply With Quote
  #7 (permalink)  
Old Jan 13th, 2008, 15:44
Jack Franklin's Avatar
Resources Administrator

SuperMember
Join Date: May 2007
Location: Cornwall, England
Posts: 1,288
Blog Entries: 8
Thanks: 10
Thanked 5 Times in 5 Posts
Re: IE6 is not rendering my columns correctly

Try adding:
Code: Select all
padding: 0;
Or have a look at this: my site will not display properly in certain browsers.
__________________
Resources Administrator


Last Blog Entry: A Week with VBulletin (Aug 28th, 2008)

Last edited by Jack Franklin; Jan 13th, 2008 at 15:57.
Reply With Quote
  #8 (permalink)  
Old Jan 13th, 2008, 15:58
Oak's Avatar
Oak Oak is offline
SuperMember

SuperMember
Join Date: Dec 2007
Location: London
Age: 35
Posts: 289
Thanks: 6
Thanked 0 Times in 0 Posts
Re: IE6 is not rendering my columns correctly

No, that did not work.
Reply With Quote
  #9 (permalink)  
Old Jan 13th, 2008, 16:44
Oak's Avatar
Oak Oak is offline
SuperMember

SuperMember
Join Date: Dec 2007
Location: London
Age: 35
Posts: 289
Thanks: 6
Thanked 0 Times in 0 Posts
Re: IE6 is not rendering my columns correctly

Quote:
Originally Posted by jackfranklin View Post

Yes! this works, thought I am having trouble adding the conditional comment to my page.

I cant seem to stop the first part of the comment ([if IE 6])appearing on the web page.

Should I just sit the comment on the page as it is?

[if IE 6]><link rel="stylesheet" type="text/css"
href="IE6styles.css"/><![endif]
Reply With Quote
  #10 (permalink)  
Old Jan 13th, 2008, 16:45
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: IE6 is not rendering my columns correctly

Oak as a last resort try adding this to the beginning of your css
Code: Select all
*{
margin: 0;
padding:0;
}
That will set all margins and padding to zero. Each browser seems to have it's very own default set so this will erase all of those.

Another solution for you is to make a wrap div that is the same width as your header.
INSIDE that div, you place the #about div and the #background-wrapper divs.
Whatever padding you need in order to get the columns off of each border is added to the wrap div. Then you won't need any left-margin on the background-wrapper.

Did I confuse you? If so, I can try to find the time to give you a working example.
Reply With Quote
  #11 (permalink)  
Old Jan 13th, 2008, 17:11
Oak's Avatar
Oak Oak is offline
SuperMember

SuperMember
Join Date: Dec 2007
Location: London
Age: 35
Posts: 289
Thanks: 6
Thanked 0 Times in 0 Posts
Re: IE6 is not rendering my columns correctly

Lchad everything goes back to zero, does this mean I have to then reset all margins, paddings again?

I don't know the code for wrapping two divs inside another.

I almost seem to have the problem solved with the conditional comment, just this code [if IE 6]) is visual on the webpage.
Reply With Quote
  #12 (permalink)  
Old Jan 13th, 2008, 17:42
Oak's Avatar
Oak Oak is offline
SuperMember

SuperMember
Join Date: Dec 2007
Location: London
Age: 35
Posts: 289
Thanks: 6
Thanked 0 Times in 0 Posts
Re: IE6 is not rendering my columns correctly

Jack, adding to my last reply to your link.

FF is also reading the IE6 CSS file over the original ?
Reply With Quote
  #13 (permalink)  
Old Jan 13th, 2008, 17:52
Jack Franklin's Avatar
Resources Administrator

SuperMember
Join Date: May 2007
Location: Cornwall, England
Posts: 1,288
Blog Entries: 8
Thanks: 10
Thanked 5 Times in 5 Posts
Re: IE6 is not rendering my columns correctly

Quote:
Originally Posted by Oak View Post
Jack, adding to my last reply to your link.

FF is also reading the IE6 CSS file over the original ?
Wow, that's weird. Double check you have the code correct. It really should not do that!
__________________
Resources Administrator


Last Blog Entry: A Week with VBulletin (Aug 28th, 2008)
Reply With Quote
  #14 (permalink)  
Old Jan 13th, 2008, 18:13
Oak's Avatar
Oak Oak is offline
SuperMember

SuperMember
Join Date: Dec 2007
Location: London
Age: 35
Posts: 289
Thanks: 6
Thanked 0 Times in 0 Posts
Re: IE6 is not rendering my columns correctly

Yes I do? should it sit in the page like so:

<link href=[if IE 6]><link rel="stylesheet" type="text/css"
href="capoeira-canal-classses-IE6.css"/><![endif]/>

or like this?

[if IE 6]><link rel="stylesheet" type="text/css"
href="capoeira-canal-classses-IE6.css"/><![endif]

Last edited by Oak; Jan 13th, 2008 at 18:16.
Reply With Quote
  #15 (permalink)  
Old Jan 13th, 2008, 18:16
Jack Franklin's Avatar
Resources Administrator

SuperMember
Join Date: May 2007
Location: Cornwall, England
Posts: 1,288
Blog Entries: 8
Thanks: 10
Thanked 5 Times in 5 Posts
Re: IE6 is not rendering my columns correctly

Wrong both times!
Code: Select all
<!--[if IE 6]><link rel="stylesheet" type="text/css" 
href="IE6styles.css"/><![endif]-->
Try that.
__________________
Resources Administrator


Last Blog Entry: A Week with VBulletin (Aug 28th, 2008)
Reply With Quote
  #16 (permalink)  
Old Jan 13th, 2008, 18:28
Oak's Avatar
Oak Oak is offline
SuperMember

SuperMember
Join Date: Dec 2007
Location: London
Age: 35
Posts: 289
Thanks: 6
Thanked 0 Times in 0 Posts
Re: IE6 is not rendering my columns correctly

Well I already did try that, but neither FF or IE6 read it.
Reply With Quote
  #17 (permalink)  
Old Jan 13th, 2008, 18:30
Jack Franklin's Avatar
Resources Administrator

SuperMember
Join Date: May 2007
Location: Cornwall, England
Posts: 1,288
Blog Entries: 8
Thanks: 10
Thanked 5 Times in 5 Posts
Re: IE6 is not rendering my columns correctly

Hmm. It might be something to do with using Multiple IE instead of the actual IE6? Anyone else got any ideas here?
__________________
Resources Administrator


Last Blog Entry: A Week with VBulletin (Aug 28th, 2008)
Reply With Quote
  #18 (permalink)  
Old Jan 13th, 2008, 18:38
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: IE6 is not rendering my columns correctly

This is the code I place in between the head tags
Code: Select all
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="capoeira-canal-classses-IE6.css" />

<![endif]-->
Make sure you have that link correct. ex. capoera-canal-classses-IE6.css
Classes is spelled wrong.
Reply With Quote
  #19 (permalink)  
Old Jan 13th, 2008, 18:56
Oak's Avatar
Oak Oak is offline
SuperMember

SuperMember
Join Date: Dec 2007
Location: London
Age: 35
Posts: 289
Thanks: 6
Thanked 0 Times in 0 Posts
Re: IE6 is not rendering my columns correctly

Excuse the spelling, it is the same though!

The code is inside the head tags. IE6 is still not using the new CSS file.
Reply With Quote
  #20 (permalink)  
Old Jan 13th, 2008, 18:56
Jack Franklin's Avatar
Resources Administrator

SuperMember
Join Date: May 2007
Location: Cornwall, England
Posts: 1,288
Blog Entries: 8
Thanks: 10
Thanked 5 Times in 5 Posts
Re: IE6 is not rendering my columns correctly

Can I see your entire <head> code please?
__________________
Resources Administrator


Last Blog Entry: A Week with VBulletin (Aug 28th, 2008)
Reply With Quote
Reply

Thread Tools

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Insert new row without knowing number of columns?? nate2099 Databases 2 Dec 27th, 2007 03:51
[SOLVED] 3 columns? PicoDeath Web Page Design 31 Dec 8th, 2007 20:33
[SOLVED] MSIE doesn't show my design correctly (what a surprise) delusion Web Page Design 6 Oct 26th, 2007 20:16
[SOLVED] List games diplay in columns Maska PHP Forum 3 Oct 2nd, 2007 11:31
Menu not rendering correctly in I.E maxz Starting Out 10 Jun 11th, 2007 17:32


All times are GMT. The time now is 02:49.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43