myatia
Programmer
- Nov 21, 2002
- 232
On the following page, I want the first column be 599 pixels, the second be 201, and the third expand to fit the remaining portion of the window. I'm trying to do this to make the green and orange border at the top of this page
expand all the way across the page without having to use table width="101%" or having to put a long spacer gif in the far right column to make the left and right columns retain their correct widths. (I put a portion of the code below to show how I'm getting it to work now). If I don't use these kluges, then the middle column gets bigger than 201 pixels, which causes the border to break up. Also, it makes the horizontal scrollbar appear, which is unnecessary. I also have to use this fix for
Does anyone know how to get this to work without having to use the big spacer gif? Also, this won't work with the first site, but does anyone know how to disable the horizontal scrollbar withough disabling the vertical one?
Thanks,
Misty
expand all the way across the page without having to use table width="101%" or having to put a long spacer gif in the far right column to make the left and right columns retain their correct widths. (I put a portion of the code below to show how I'm getting it to work now). If I don't use these kluges, then the middle column gets bigger than 201 pixels, which causes the border to break up. Also, it makes the horizontal scrollbar appear, which is unnecessary. I also have to use this fix for
Does anyone know how to get this to work without having to use the big spacer gif? Also, this won't work with the first site, but does anyone know how to disable the horizontal scrollbar withough disabling the vertical one?
Thanks,
Misty
Code:
<TABLE WIDTH="101%" BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<!-- RED CROSS LIVE MENU BAR -->
<TD WIDTH=599 HEIGHT=70>
<IMG SRC="images/menubar.gif" WIDTH=599 HEIGHT=70
BORDER=0 USEMAP="#menubar_Map"></TD>
<!-- RIGHT COLUMN SPACER ROW -->
<TD BACKGROUND="images/bg_top.gif" WIDTH=201 HEIGHT=70>
<IMG SRC="images/spacer.gif" HEIGHT=1
WIDTH=201></TD>
<!-- EXPANDING CELL -->
<!-- If I don't put the spacer.gif here, then the -->
<!-- right column cell expands beyond 201 pixels -->
<!-- messes up the page. -->
<TD BACKGROUND="images/bg_top.gif" HEIGHT=70>
<IMG SRC="images/spacer.gif" HEIGHT=1
WIDTH=2000></TD>
</TR>
</TABLE>