I have another question

K

Kate

I have another question if you don't mind humouring me. :)

I am going to use a simple table for the page layout with css, so that I can
duplicate as near as possible the dreaded framed site I'm so glad to be rid
of. :) My question is this, is there a way to set the menu column so that
it would stay the same size no matter if the monitor size was 14" or 24" and
only the page content column would enlarge/reduce? I have tried setting it
in px, pt etc but to no avail. I hope you understand what I'm trying to
explain, lol... get slightly blurry eyed atm.

<TABLE BORDER="0">
<TR>
<TD COLSPAN="3" WIDTH="100%" CLASS="logo"><IMG SRC="logo.gif" BORDER="0"
WIDTH="67" HEIGHT="64" ALIGN="bottom" ALT=""></TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD CLASS="menu" WIDTH="75px" CLASS="menu_bar"><!--#include
virtual="./menu.shtml" --> </TD>
<TD COLSPAN="2" CLASS="page_content"></TD>
<TD></TD>
</TR>
</TABLE>

Many thanks in advance,
Kate
 
S

saz

I have another question if you don't mind humouring me. :)

I am going to use a simple table for the page layout with css, so that I can
duplicate as near as possible the dreaded framed site I'm so glad to be rid
of. :) My question is this, is there a way to set the menu column so that
it would stay the same size no matter if the monitor size was 14" or 24" and
only the page content column would enlarge/reduce? I have tried setting it
in px, pt etc but to no avail. I hope you understand what I'm trying to
explain, lol... get slightly blurry eyed atm.

<TABLE BORDER="0">
<TR>
<TD COLSPAN="3" WIDTH="100%" CLASS="logo"><IMG SRC="logo.gif" BORDER="0"
WIDTH="67" HEIGHT="64" ALIGN="bottom" ALT=""></TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD CLASS="menu" WIDTH="75px" CLASS="menu_bar"><!--#include
virtual="./menu.shtml" --> </TD>
<TD COLSPAN="2" CLASS="page_content"></TD>
<TD></TD>
</TR>
</TABLE>

Many thanks in advance,
Kate
This is exactly why you should not use tables. Why not use css for the
whole layout? That would solve your problem. Just set up a three
column layout, fixing position of the first and third div.
 
S

saz

This is exactly why you should not use tables. Why not use css for the
whole layout? That would solve your problem. Just set up a three
column layout, fixing position of the first and third div.
I just re-read the original post - a two column layout with CSS would
solve the problem. Fix the width of the menu column (div) and the rest
will fall into place.
 
S

saz

Is that using position absolute?

Kate
Yes, or in some cases you may want to float:left (or right) in order to
get the text to wrap around it at the bottom. It all depends on the
layout you are trying to achieve.
 
K

Kate

Kate said:
I have another question if you don't mind humouring me. :)

I am going to use a simple table for the page layout with css, so that I can
duplicate as near as possible the dreaded framed site I'm so glad to be rid
of. :) My question is this, is there a way to set the menu column so that
it would stay the same size no matter if the monitor size was 14" or 24" and
only the page content column would enlarge/reduce? I have tried setting it
in px, pt etc but to no avail. I hope you understand what I'm trying to
explain, lol... get slightly blurry eyed atm.

<TABLE BORDER="0">
<TR>
<TD COLSPAN="3" WIDTH="100%" CLASS="logo"><IMG SRC="logo.gif" BORDER="0"
WIDTH="67" HEIGHT="64" ALIGN="bottom" ALT=""></TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD CLASS="menu" WIDTH="75px" CLASS="menu_bar"><!--#include
virtual="./menu.shtml" --> </TD>
<TD COLSPAN="2" CLASS="page_content"></TD>
<TD></TD>
</TR>
</TABLE>

Many thanks in advance,
Kate

Sorry just noticed I placed two CLASS="menu" please ignore the first :) to
quick to hit the send button..

Kate
 
K

Kate

saz said:
This is exactly why you should not use tables. Why not use css for the
whole layout? That would solve your problem. Just set up a three
column layout, fixing position of the first and third div.

Is that using position absolute?

Kate
 
K

Kate

saz said:
Yes, or in some cases you may want to float:left (or right) in order to
get the text to wrap around it at the bottom. It all depends on the
layout you are trying to achieve.

Great I'll give that a try, many thanks Saz,

Kate
 

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,773
Messages
2,569,594
Members
45,120
Latest member
ShelaWalli
Top