problem with stretched table

E

earl

I've been trying to make a simple template for a webpage that Im putting
together. For some reason I've testing this in Opera (V 7.0) where it looks
fine. However when I tryed it in IE 6.0 the table is all stretched out. If
you could please take a look at this page :
http://larsandre.mine.nu/temp/menu.html
I've set logo to 85px, menu to 10px and footer to 10px and main is set to
auto using css style sheet. The strange thing is though, when viewing it in
IE the logo cell is all stretched out and looks very big while the main cell
is kind of small. It should be the other way around.

Anyway, what Im trying to accomplish is for the table to stretch out
(vertically) from top to bottom but I'd like to specify three(logo, menu,
footer) of the four cells height and let the last cell (main) be what ever
height is left.

Would be very gratefull for any help.
 
L

Leif K-Brooks

earl said:
I've been trying to make a simple template for a webpage that Im putting
together.

This is unrelated to your question, but don't abuse tables! They're for
tabular data, not layouts.
 
R

rf

earl said:
I've been trying to make a simple template for a webpage that Im putting
together. For some reason I've testing this in Opera (V 7.0) where it looks
fine. However when I tryed it in IE 6.0 the table is all stretched out. If
you could please take a look at this page :
http://larsandre.mine.nu/temp/menu.html
I've set logo to 85px, menu to 10px and footer to 10px and main is set to
auto using css style sheet. The strange thing is though, when viewing it in
IE the logo cell is all stretched out and looks very big while the main cell
is kind of small. It should be the other way around.

Anyway, what Im trying to accomplish is for the table to stretch out
(vertically) from top to bottom but I'd like to specify three(logo, menu,
footer) of the four cells height and let the last cell (main) be what ever
height is left.

Would be very gratefull for any help.

IE doesn't understand height: auto for a table cell. You should not be using
tables for this anyway, it's not tabular data.

What are you going to put in that 10 pixel high cell? Not text I hope, I
have my text about 16 pixels high.

Cheers
Richard.
 
E

earl

This is unrelated to your question, but don't abuse tables! They're for
tabular data, not layouts.

Out of curiosity what method would you recommend for designing a layout ?
 
E

earl

rf said:
IE doesn't understand height: auto for a table cell. You should not be using
tables for this anyway, it's not tabular data.

What are you going to put in that 10 pixel high cell? Not text I hope, I
have my text about 16 pixels high.

Cheers
Richard.

Thank for your prompt reply.

Even if IE doesnt understand auto shouldnt it understand when I do height :
85px; for the logo row and not stretch it out ?

What would you advice using instead of table ? Im open for suggestion.

Cheers :)
 
S

Sid Ismail

: I've been trying to make a simple template for a webpage that Im putting
: together. For some reason I've testing this in Opera (V 7.0) where it looks
: fine. However when I tryed it in IE 6.0 the table is all stretched out.


#maintable
{
border : 1px solid #091c5a;
width: 640px;


Looks 640px to me....

Sid
 
D

Derek Clarkson

Tried your page in MozillaFirebird and Konquerer, it appears just fine.
<TONGUE IN CHEEK>Why do you expect MS to get it right ?</TONGUE IN CHEEK>

he he
Derek
 
E

earl

Sid Ismail said:
: I've been trying to make a simple template for a webpage that Im putting
: together. For some reason I've testing this in Opera (V 7.0) where it looks
: fine. However when I tryed it in IE 6.0 the table is all stretched out.


#maintable
{
border : 1px solid #091c5a;
width: 640px;


Looks 640px to me....

Sid

The problem is that the table is stretched out vertically.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top