Forum Moderators: not2easy

Message Too Old, No Replies

width in percentages

         

cdmn

9:28 am on Mar 11, 2007 (gmt 0)

10+ Year Member



Hi there,

i have a table cell, which has px width
and in that cell is input field.

I want to add a rule, that says: "you have to have 10% width from whole table width" (not from cell width).

Is it possbile?

cmarshall

1:58 pm on Mar 11, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm pretty sure it's entirely possible, but I'm not sure I understand the question.

Could you elucidate a bit more?

Ingolemo

2:36 pm on Mar 11, 2007 (gmt 0)

10+ Year Member



Percentage widths can only refer to the size of the parent element, so what you want is only possible if the table element is also fixed width.