tags:

views:

31

answers:

2

Hi,

i have this page.

login: [email protected]
password: m

I've gave a width to "td.select_edad label" but it doesnt work..

I know it's deprecated, so what is your advice?

Another question: why "height" (also deprecated) is working ok for the fields of the filter?

Regards

Javi

+1  A: 

label is an inline element so width does not have any effect.

You can set the label to display:block and then it will work as you want.

By the way, width and height are definitely not deprecated in css. They are probably deprecated as inline attributes (if that´s the right word...) for tables.

jeroen
A: 

My advice is don't use tables to layout forms. Use a fieldset and divs as necessary. Have a look at the WuFoo Form Gallery for inspiration.

Jim Lamb
Thanks, but what is wrong with tables?
Here's a good overview of what's wrong with tables:http://www.chromaticsites.com/blog/13-reasons-why-css-is-superior-to-tables-in-website-design/
Jim Lamb