Topic: What's wrong with my tables?? (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Berlin (almost) |
posted 12-24-2001 15:01
The site I'm working on ( www.kussatz.com/erik ) uses a table with 5 columns to align everything. Cols 2, 3 and 4 contain the contents, the other two should make them appear in the center of the page. Just have a look at it with IE and you'll know how it should look like . |
Maniac (V) Mad Scientist From: |
posted 12-24-2001 15:17
Here your first problem: code: <td class="borderarea1">
code: <td width="30" class="borderarea2">
|
Bipolar (III) Inmate From: Berlin (almost) |
posted 12-24-2001 23:48
Well, yes, the two TDs don't have width attributes because I want their width to depend on the size of the browser window. The three middle columns have a fixed width and the other two should take up the remaining space. I tried to use something like width="50%" on both of them, but it doesn't work that way. In IE everything's fine without these width attributes, though. |
Maniac (V) Mad Scientist From: |
posted 12-25-2001 00:03
If the rest are fixed, then width="100%" in those TD tags should do it. |
Maniac (V) Inmate From: out of a sleepy funk |
posted 12-25-2001 04:51
If you want a 3 column layout, centered, just do your 3 column table and enclose it in <div align=center></div> strip out the outside 2 columns |
Maniac (V) Mad Scientist From: |
posted 12-25-2001 05:25
Actually, there are a lot of things like that that I don't worry about. Most of that Christmas stuff falls on the women around here. My job is to put my foot down when the monsters get a bit unruly. Three little girls, and a little boy -- with two more total on the way, so next year will be a real killer. Right now I've got some of a closet tore out so I can get to the plumbing, and that little crawl space is The Chokey. When the monsters get out of hand, I show them Them Chokey and threaten to put them in there. After that, they straighten up for a few hours. |
Bipolar (III) Inmate From: Berlin (almost) |
posted 12-25-2001 14:59
Now everything looks fine in Opera, too. I added the three width attributes to all rows, that seems to help Opera. But it still doesn?t work in Netscape. |
Bipolar (III) Inmate From: Berlin (almost) |
posted 12-25-2001 18:31
Wow, that's crazy! I went through the code adding "..."s (what's their name ... quotation marks, I guess), changing all tags to lowercase and trying to make it look a little more pretty. Afterwards, I had a look at it in Netscape and everything looked exactly like in IE and Opera - amazing, very amazing! I guess Netscape just doesn't want to display anything that isn't written in a very clean way. Though I really can't figure out in which way the page now differs from the 'original' one. But I'm happy now |
Maniac (V) Inmate From: out of a sleepy funk |
posted 12-25-2001 22:22
When you refer to "Netscape" which version are you talking about? 4.7 has wretched support for CSS and doesn't support colored table borders really either, that's always been an IE 'extra'. NS6(.2) may have implemented it like they did IE's a:hover, don't have any NN browsers in fron of me at the moment. |
Bipolar (III) Inmate From: Berlin (almost) |
posted 12-26-2001 12:06
I was running Netscape 6.01. But in Netscape 6.2 everything seems OK. And if someone doesn't like the way his older NN displays some borders, well, why doesn't he use IE? I think it's been enough Netscape tuning for now. |
Maniac (V) Inmate From: there...no..there..... |
posted 12-27-2001 16:26
That's one bright site! |
Bipolar (III) Inmate From: Berlin (almost) |
posted 12-28-2001 11:15
Thanks for your tip, CPromt! I fixed that one (though I used marginwidth="0" and marginheight="0" instead to make it work), but I'm nor really sure how to fix all the other things NN 4.7 doesn't understand (where has the texterea gone?) ... |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 12-30-2001 17:52
kuckus: I'm glad to see you've got you column problems sorted out but I suspect the question should now be do you want it to look the same in NS4.x as it does in more up-to-date browsers? I just think throwing 2 of the '4 Horsemen' into the mix at this stage, just for NS4.x (what about the other 2 for older versions of IE?), seems a bit of a backwards step and one that should only be done if that is really what you are aiming at. |