Jump to content


Photo

html scaling


  • Please log in to reply
1 reply to this topic

#1 tony s

tony s
  • Members
  • Pip
  • Newbie
  • 5 posts
  • Locationvarious / worldwide

Posted 14 April 2006 - 09:41 PM

help! = )

can this be done?
Lets say i got page that is centered; and i got basic table with 3 columns.
example:
really vallid html: 
<table border="0" width="600"><tr>
<td width="200"> - LOCKED /  NO SCALING - </td>
<td> -  this one is for scalling - </td>
<td width="200"> - LOCKED /  NO SCALING - </td>
</tr></table>

so.... the idea is that the 'td' in the middle is scaling; others are "locked"...
Q:
a) can i define 'width' in table? (when table is displayed in full, td's would be 200|200|200)

b) can this be done in some cross browser way (/browser friendly way)?

#2 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 14 April 2006 - 09:52 PM

Not sure I understand what you want. If the table width is fixed at 600px, and two of the three columns are fixed at 200px, the third column can't be anything but 200px wide. If you omit the width from the table definition, then the column with no pre-defined with will expand to fill the available space if there's enough content in it.
Legend has it that reading the manual never killed anyone.
My site




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users