W3C home > Mailing lists > Public > www-html@w3.org > March 2002

Re: Who is right? IE5.5 or Mozilla/Netscape?

From: Adam van den Hoven <list@adamvandenhoven.com>
Date: Fri, 15 Mar 2002 16:40:27 -0800
Message-Id: <200203151640.AA1512243256@adamvandenhoven.com>
To: <www-html@w3.org>
Oops, I see my problem now. It seems that using 3 COL elements does work. I wonder how I missed that. I'm certain that I tested  it before. 

Oh well. 

But I'm still interested to know if IE is right or Mozilla with respect to the colspans. 

Adam




---------- Original Message ----------------------------------
From: "Adam van den Hoven" <list@adamvandenhoven.com>
Reply-To: <list@adamvandenhoven.com>
Date: Fri, 15 Mar 2002 16:30:49 -0800

>Hey all. 
>
>I'm building out a framework from photoshop comps that our designer just handed to me. I've managed to get everything pretty well where I want it. I've even used a mostly reasonable structure in my HTML (I'll probably revise it at least one more time before I'm done). 
>
>I've run into a problem with my tables. I have 3 tables that contain data (banking summaries in this case). Unfortunately my designer told me to line up the columns. I'm going to convince her that the way she want things to line up (the second column in the first table is to line up with the second column in the second table) won't work well because currency fields should be right aligned. Instead, I want to do the alignment from the right (the last and second last columns align in all tables). 
>
>The solution (or so I thought) was to use COL elements to set the width. I've tried two things. 
>The first was to use 3 COL elements for the first table and 5 for the others. The first COL is always width="*" and the others match up from the end. This didn't work very well at all.
>
>The second was to use the same set of COL elements for all 3 tables and simply colspan="3" the first column of the first table. This works really well in IE5.5 (WinNT). However, if I try it on either NS6.2 or Mozilla 0.9.9 the result is very different, but only for the first table. The last two have no problems lining up. 
>
>It is my impression that either of the two solutions should have worked but neither has. I'm hoping someone can help me out. If I can't find a solution, I'm going to have to resort to one massive table. 
>
>I've attached my HTML file so you can see what I mean. There images refered to aren't included but they really don't matter.  
>There's two style blocks becuase I'm using two CSS files, one for unchanging CSS and one that changes from client to client. And the reason there are a bunch of images that get display:none is that I have two different layouts (one with heavy graphics) to run off of one set of HTML. In the end I'll probably be taking out the extra markup for those installations that don't use it, but that will be a bit of JSP code.
>
>Thanks for your help!!!
>Adam van den Hoven
>
>
>
>
>
>


__________________________________________________
D O T E A S Y - "Join the web hosting revolution!"
             http://www.doteasy.com
Received on Friday, 15 March 2002 19:41:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:50 GMT