IE7 not displaying CSS columns properly

This is a discussion on "IE7 not displaying CSS columns properly" within the Web Page Design section. This forum, and the thread "IE7 not displaying CSS columns properly 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 Feb 12th, 2008, 03:54
New Member
Join Date: Feb 2008
Location: Chicago, IL
Age: 30
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
IE7 not displaying CSS columns properly

I'm having trouble getting my sites' columns to line up properly in IE7. Everything looks they way I want it to in Firefox 2.0.

If someone could review my code and provide me with a tip or two, I would be forever grateful. I'm new to CSS, so detailed help would be great.

The test page can be found at http://847local.com/baker/index.html

The stylesheet is at http://847local.com/baker/style.css


Thanks for your help!

-Randy
Reply With Quote

  #2 (permalink)  
Old Feb 12th, 2008, 22:26
New Member
Join Date: Feb 2008
Location: Chicago, IL
Age: 30
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: IE7 not displaying CSS columns properly

anyone up to this?
Reply With Quote
  #3 (permalink)  
Old Feb 12th, 2008, 22:34
Reputable Member
Join Date: Jun 2007
Location: Bellevue, SK, Canada
Age: 28
Posts: 222
Thanks: 0
Thanked 0 Times in 0 Posts
Re: IE7 not displaying CSS columns properly

try to make your #content_container less wide..
If that helps, create a conditional in your index.html (in your <head> </head>) like this:

Code: Select all
<!--[if IE]>
<style type="text/css"> 
#content_container {
width:770px;
}
</style>
<![endif]-->
Reply With Quote
  #4 (permalink)  
Old Feb 12th, 2008, 23:44
New Member
Join Date: Feb 2008
Location: Chicago, IL
Age: 30
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: IE7 not displaying CSS columns properly

I changed #container to 806px wide, and #content_container to 770px wide. I then added the conditional code to the <head>, but not much changed. This has me really frustrated. I'm almost ready to scrap the whole thing and start over! Stupid IE7!
Reply With Quote
  #5 (permalink)  
Old Feb 14th, 2008, 00:16
Reputable Member
Join Date: Jun 2007
Location: Bellevue, SK, Canada
Age: 28
Posts: 222
Thanks: 0
Thanked 0 Times in 0 Posts
Re: IE7 not displaying CSS columns properly

It probably still doesn't fit.. What I did before I used the webdeveloper plugin for firefox is create a 1px wide solid border around alls the divs so i can see what's going on.

Try to exaggerate your width to about 500px on the #content_container..
Reply With Quote
  #6 (permalink)  
Old Feb 14th, 2008, 05:04
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,608
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Send a message via Yahoo to Monie
Re: IE7 not displaying CSS columns properly

It is easier for us if you could host them somewhere
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Reply With Quote
  #7 (permalink)  
Old Feb 16th, 2008, 08:50
Jack Franklin's Avatar
Resources Administrator

SuperMember
Join Date: May 2007
Location: Cornwall, England
Posts: 1,268
Blog Entries: 7
Thanks: 10
Thanked 4 Times in 4 Posts
Re: IE7 not displaying CSS columns properly

As delusion said, make your width even smaller:
Code: Select all
<!--[if IE]>
<style type="text/css"> 
#content_container {
width:500px;
}
</style>
<![endif]-->
Last Blog Entry: My Latest Project - Grilling Gurus... (Jun 11th, 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
Layout not aligning properly casho Web Page Design 9 Feb 11th, 2008 11:12
Just started learning properly weasel PHP Forum 14 Jan 16th, 2008 21:17
Displaying multiple columns in a combo box 1840dsgn Web Page Design 1 Jan 7th, 2008 04:56
[SOLVED] Webpage not displaying properly in Firefox Johnathan Web Page Design 25 Jan 5th, 2008 01:34
Can't add a div box properly to my page. Moonlilly Starting Out 1 Feb 26th, 2007 20:38


All times are GMT. The time now is 22:06.


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