Having trouble with text_fields and CSS

If I don't use CSS, the text fields only have their labels left justified with the fields wherever they end up.

This CSS .household {   position:absolute;   left:1.8in; } causes the text fields to be left justified at 1.8", but changes the field height, making the fields unreadable. I have tried height, margin, and padding with no luck.. Please help.

Bob <bsm2th@gmail.com>

By the way, if anyone needs to see what this looks like, go to

http://mysite.verizon.net/vze10eqgh/

If you install firebug in firefox you can select the field and firebug will show you the style for the object and where it is getting that style from, which may give you a clue.

Also whenever I see anything a bit odd like that I check the page html using the w3c html validator and sometimes the fundamental cause is invalid html.

Colin

Colin Law wrote:

margin, and padding with no luck.. Please help.

If you install firebug in firefox you can select the field and firebug will show you the style for the object and where it is getting that style from, which may give you a clue.

The debugging console for WebKit browsers (Safari, Chrome, ...) will do likewise.

Also whenever I see anything a bit odd like that I check the page html using the w3c html validator and sometimes the fundamental cause is invalid html.

Oh hell yes.

For further questions on this issue, a CSS forum may be more help; this is not really a Rails issue.

Colin

Best,