Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.