473,326 Members | 2,175 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

CSS columns problem

Hello everyone,

The following page renders perfectly in Firefox 0.8:

http://www.ganymede-titan.info/index2.html

But the page breaks in IE5, with the first two columns being wider, the
result of which is that the rightmost column doesn't fit properly, and is
displayed underneath the rest of the page.

I *know* I've seen something about this before, but I can't find out exactly
how to solve it. Can anyone tell me?

(I know there's lots of dodgy HTML/CSS in that test page; it'll all be
fixed before it goes live.)

--
John Hoare
http://www.ganymede-titan.info/
Jul 20 '05 #1
6 2163
There are HTML parse errors on your page, for what it's worth...

http://validator.w3.org/check?verbos...fo/index2.html
Jul 20 '05 #2
Secret Guy wrote:
There are HTML parse errors on your page, for what it's worth...

http://validator.w3.org/check?verbos...fo/index2.html


If you make both #mainleft & #maincenter = 38% in your stylesheet, then the page displays properly in IE. HTH

--

Dan

Jul 20 '05 #3
Secret Guy <no****@nope.no> wrote in message news:<10*************@news.supernews.com>...
There are HTML parse errors on your page, for what it's worth...

http://validator.w3.org/check?verbos...fo/index2.html


Just fixed them. I was just being lazy ;-)

Hasn't helped with the problem, sadly...

--
John Hoare
http://www.ganymede-titan.info/
Jul 20 '05 #4
"Dan Boyd" <da*****@nospam.net> wrote in message news:<2k************@uni-berlin.de>...
If you make both #mainleft & #maincenter = 38% in your stylesheet,
then the page displays properly in IE. HTH


Ah, it does - but then it all displays wrongly in Firefox/Opera -
the third column goes right to the edge of the page, and doesn't
line up with the masthead...

--
John Hoare
http://www.ganymede-titan.info/
Jul 20 '05 #5
jh****@gmail.com (John Hoare) wrote in message news:<1a**************************@posting.google. com>...
"Dan Boyd" <da*****@nospam.net> wrote in message news:<2k************@uni-berlin.de>...
If you make both #mainleft & #maincenter = 38% in your stylesheet,
then the page displays properly in IE. HTH


Ah, it does - but then it all displays wrongly in Firefox/Opera -
the third column goes right to the edge of the page, and doesn't
line up with the masthead...


Sorry, got confused.

What I meant to say is that if you do that, Firefox/Opera still display
it fine - but IE, whilst displaying the rightmost column, does it
so it doesn't line up with the masthead.

--
John Hoare
http://www.ganymede-titan.info/
Jul 20 '05 #6
jh****@gmail.com (John Hoare) wrote in message news:<1a**************************@posting.google. com>...
Hello everyone,

The following page renders perfectly in Firefox 0.8:

http://www.ganymede-titan.info/index2.html

But the page breaks in IE5, with the first two columns being wider, the
result of which is that the rightmost column doesn't fit properly, and is
displayed underneath the rest of the page.

I *know* I've seen something about this before, but I can't find out exactly
how to solve it. Can anyone tell me?

(I know there's lots of dodgy HTML/CSS in that test page; it'll all be
fixed before it goes live.)


Fixed:

http://www.ganymede-titan.info/index3.html

I just added width: 100% and removed the margins from the div#content,
and added padding: 1em; to the body.

--
John Hoare
http://www.ganymede-titan.info/
Jul 20 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Chad Devine | last post by:
Alright, I am posting my solution to a problem I've been having. I have finally found the answer, and it took me a while so I thought I'd provide the final solution here, since it may be benificial...
4
by: Mike | last post by:
I encountered this problem for the first time today while trying to add some columns to a query from a linked DBASEIII file. The new columns that I added on the design grid do not show up on the...
4
by: Adam | last post by:
Hi all, I've got a tricky CSS problem that I could use some help with. What I'm trying to do is to set up a column-based layout, with each column holding a number of <divblocks. These div blocks...
6
by: babaidebnath | last post by:
Hello all, I am presently having a problem with printing in C#. The problem is my customer provided me a pre printed paper and I need to print value into some specific positions. But problem is C#...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.