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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fixing the Width of a Table (despite the size of the window)

Status
Not open for further replies.

Coxylaad

Programmer
Jan 27, 2004
155
GB
Hi I am trying to fix the siz of a span (or a table would do).

The problem I have is that when i reduce the size of the explorer window the span (or table) width reduces to fit. I dont want this to happen, is there any way in style sheets that I can stop this happening?

Thanks

Ian
 
Working with tables, I've found that you can exercise significant control on how the table is drawn, using

<table style="table-layout:fixed" ...

e.g.
<TABLE STYLE="table-layout:fixed" WIDTH=600>
<COL WIDTH=100><COL WIDTH=300><COL WIDTH=200>
<TR><TD>...</TD><TD>...</TD><TD>...</TD></TR>
:
</TABLE>

Found this in the microsoft help, so it's likely that this is IE specific.
 
thanks for that, its good to knows stuff like that
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top