Jump to content

html scaling


tony s

Recommended Posts

help! = )

can this be done?
Lets say i got page that is centered; and i got basic table with 3 columns.
example:
[code]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>[/code]

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

b) can this be done in some cross browser way [i](/browser friendly way)[/i]?
Link to comment
https://forums.phpfreaks.com/topic/7440-html-scaling/
Share on other sites

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.
Link to comment
https://forums.phpfreaks.com/topic/7440-html-scaling/#findComment-27093
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.