Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Keeping Table's from being Moved during a Window Resize

Status
Not open for further replies.

mainmast

Programmer
Jun 26, 2003
176
US
How can I make table's be stationary when resizing the window, making a horizontal scrollbar instead of the tables crashing into each other?


Thanks!

"Everything is possible, it just depends on how much you want to pay for it."

-James
 
You can set fixed width for table and columns. e.g.

<table width=&quot;400&quot;>
<tr>
<td width=&quot;100&quot;>&nbsp;</td>
<td width=&quot;100&quot;>&nbsp;</td>
<td width=&quot;100&quot;>&nbsp;</td>
<td width=&quot;100&quot;>&nbsp;</td>
</tr>
</table>

 
or just using pixels (px) instead of percentages (%) but ud have to change every table to pixels in order for it to work
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top