KdgDev
KdgDev

Reputation: 14529

Problems css height and positioning of text fields in form

I'm having a problem with a textarea and submitbuttons in my form.

Here's a first screenshot of a seemingly normal situation:

alt text

And here's what happens if I set the textarea to have 30 columns:

alt text

The textarea just went right over the buttons. I'd expect the buttons to be pushed down. Or anything below it, for that matter. What do I need to set to make this happen?

Upvotes: 1

Views: 120

Answers (1)

Gabriele Petrioli
Gabriele Petrioli

Reputation: 196002

Most likely (and you should show more CSS code to be sure) you have your labels/fields floated inside an element with fixed height..

Use an element with clear:both after the textarea..

Upvotes: 2

Related Questions