Forum Moderators: open

Message Too Old, No Replies

setting row height frustrating mee

         

smagdy

2:20 pm on Dec 7, 2004 (gmt 0)

10+ Year Member



can anybody help me set the height of the 1st and 3rd row to be equal to the width of the 2nd row 1st and 3rd column... it will be clear when u paste it in dreamweaver for example.

<TABLE width="30%" height="5" border=0 align="center" cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TD width=5>&nbsp;</TD>
<td width="100%"bgColor=#9999ff>&nbsp;</td>
<TD width=5>&nbsp;</TD>
</TR>

<TR>
<TD width=5 bgColor=#9999ff>&nbsp;</TD>
<TDalign=middlewidth="100%"bgColor=#9999ff><P>&nbsp;<>
<P>Content goes here</P>
<P>&nbsp;</P>
<P>&nbsp;</P></TD>
<TD width=5 bgColor=#9999ff>&nbsp;</TD>
</TR>

<TR>
<TD width=5>&nbsp;</TD>
<TD width="100%" bgColor=#9999ff>&nbsp;</TD>
<TD width=5>&nbsp;</TD>
</TR>
</TBODY>
</TABLE>

thanks

rocknbil

4:05 pm on Dec 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Heights are funky with tables, and I'm not sure I understand the question. I will say though - couldn't get your code to render until I added spaces:

width="100%"bgColor=#9999ff

width="100%" bgColor=#9999ff

TDalign=middlewidth="100%"bgColor=#9999ff
(There is no middlewidth attribute)

TD align=middle width="100%" bgColor=#9999ff

smagdy

4:31 pm on Dec 7, 2004 (gmt 0)

10+ Year Member



am trying to do rounded corners but with also colored frames. so here is my code i just want the 1st and last row HEIGHT to be as thin as 2nd row width so the table looks curved.

<TABLE width="30%" border=0 align="center" cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TD width=20 background="Drag to a file to choose it.">&nbsp;</TD>
<TD width="100%" height="5" bgColor=#E16A01>&nbsp;</TD>
<TD width=20><IMG height=5 alt=.
src="file:///C¦/Documents%20and%20Settings/Administrator/My%20Documents/php/Budget/bu/images/top-right-corner%20copy.gif" width=5></TD>
</TR>
<TR>
<TD width=20 bgColor=#E16A01>&nbsp;</TD>
<TD align=middle width="100%" bgColor=#9999ff><P>&nbsp;</P>
<P>Content goes here</P>
<P>&nbsp;</P>
<P>&nbsp;</P></TD>
<TD width=5 bgColor=#E16A01>&nbsp;</TD>
</TR>
<TR>
<TD width=20 background="Drag to a file to choose it.">&nbsp;</TD>
<TD width="100%" bgColor=#E16A01>&nbsp;</TD>
<TD width=20><IMG height=5 alt=.
src="file:///C¦/Documents%20and%20Settings/Administrator/My%20Documents/php/Budget/bu/images/bot-right-corner%20copy.gif"
width=5></TD>
</TR>
</TBODY>
</TABLE>