![]() |
|
|
|
#1 |
|
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. 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 Kate |
|
|
|
|
#2 |
|
Posts: n/a
|
In article <41eb3c49$>,
says... > 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. > 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. |
|
|
|
#3 |
|
Posts: n/a
|
In article <. com>,
says... > In article <41eb3c49$>, > says... > > 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. > > 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. > 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. |
|
|
|
#4 |
|
Posts: n/a
|
In article <41eb3e99$>,
says... > > "saz" <> wrote in message > news: ews.com... > > In article <41eb3c49$>, > > says... > > > 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. > 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. > > 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. |
|
|
|
#5 |
|
Posts: n/a
|
"Kate" <> wrote in message news:41eb3c49$... > 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. 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 quick to hit the send button.. Kate |
|
|
|
#6 |
|
Posts: n/a
|
"saz" <> wrote in message news: ews.com... > In article <41eb3c49$>, > says... > > 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. 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. Is that using position absolute? Kate |
|
|
|
#7 |
|
Posts: n/a
|
"saz" <> wrote in message news: ews.com... > In article <41eb3e99$>, > says... > > > 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 > > > > > > > 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 |
|