Topic: What is center anyhow (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: the uterus |
posted 11-17-2002 04:39
Here's a stupid question, how might one go about centering a table that has a height of 100%, horizontally in Netscape? |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 11-17-2002 06:25
<center>. Heh. Actually, that's not really necessary. Netscape 4.x misinterprets text-align:center for the table to mean that it should be centered. So try that, and then set text-align:left for the TD's within the table, to cancel it out on browsers that understand text-align properly. |
Bipolar (III) Inmate From: the uterus |
posted 11-17-2002 06:48
|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 11-17-2002 06:55
Are you specifying a width for the table? |
Bipolar (III) Inmate From: the uterus |
posted 11-17-2002 07:04
Yes, the actual css is: TABLE.main { width: 663px; height: 98%; border: none; } |
Maniac (V) Inmate From: Oblivion |
posted 11-17-2002 08:20
Netscape deserves to die. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 11-17-2002 14:53
As no one has yet dropped in the FAQ: |