Issue with html forms

Red Squirrel

No Lifer
May 24, 2003
71,319
14,087
126
www.anyf.ca
I've had this before when coding html/css and I had managed to fix it. I really don't remember what I did. Here is the issue, forms are overlapping over borders:

See example:

lrg-886-overlap_issue.jpg


Anyone know how to fix this? It's not rendering in quirks mode according to firefox properties.
 

NiKeFiDO

Diamond Member
May 21, 2004
3,901
1
76
set the width of the form.
we'd have to see some HTML/CSS to really see whats going on.
also, what browser are you using?
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,837
4,817
75
I actually managed to make this quick reply box do that at one point with my Greasemonkey scripts. Try adding some "padding" (in CSS or style=).

Edit: I should elaborate: Consider what padding does and add it to the appropriate container around the textarea. Or maybe you want to give the textarea a margin instead?
 
Last edited:

Red Squirrel

No Lifer
May 24, 2003
71,319
14,087
126
www.anyf.ca
Yep there is a width (100%) as I want my form element to span all the way to the end of the table cell, but not go past the padding and border! The padding is set to 2px, you'll notice it obeys it all around except for the circled part.

If I recall there's a flag I have to add to the form element itself, I just can't remember what it is now.