Hi All
I have 2 tables, Table1's width is specified as 100% and Table2's
width as 1004px.
If the page is viewed in 1024 res, both tables stretch across the
window, but if the window is resized (say about 500px wide), then
Table1's width is 500px but Table2 still stretch across the window.
Is it possible to make Table1 also to stretch across the window, on
resize? (Table2's width is dynamic, actually it holds a menu and its
width depends on the number of menu items.)
This is the page I was referring to:
<html>
<head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0 ">
<table width="100%" border="0" cellpadding="0" cellspacing="0"
bgcolor="#FFFFC C">
<tr>
<td>Table1</td>
</tr>
</table>
<br>
<table width="1004" border="0" cellpadding="0" cellspacing="0"
bgcolor="#00CCF F">
<tr>
<td>Table2</td>
</tr>
</table>
</body>
</html>
Thanks in advance
Kiran M N
I have 2 tables, Table1's width is specified as 100% and Table2's
width as 1004px.
If the page is viewed in 1024 res, both tables stretch across the
window, but if the window is resized (say about 500px wide), then
Table1's width is 500px but Table2 still stretch across the window.
Is it possible to make Table1 also to stretch across the window, on
resize? (Table2's width is dynamic, actually it holds a menu and its
width depends on the number of menu items.)
This is the page I was referring to:
<html>
<head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0 ">
<table width="100%" border="0" cellpadding="0" cellspacing="0"
bgcolor="#FFFFC C">
<tr>
<td>Table1</td>
</tr>
</table>
<br>
<table width="1004" border="0" cellpadding="0" cellspacing="0"
bgcolor="#00CCF F">
<tr>
<td>Table2</td>
</tr>
</table>
</body>
</html>
Thanks in advance
Kiran M N
Comment