form buttons

They have: 461 posts

Joined: Jul 2003

i'm having some issues with these. they are doing a weird thing i have no clue why and cannot find a way to get rid of. they automatically go to the top of a cell even if i explicitly tell it to align to the bottom and creates a phantom space below and to the side that doubles it's height and width.

i have the oreilly webmaster in a nutshell 2nd edition, and have looked at the w3c schools to no avail

does anyone know how to get rid fo the extra space?

other place i know of and have checked:
html goodies

POSIX. because a stable os that doesn't have memory leaks and isn't buggy is always good.

They have: 93 posts

Joined: Jun 2003

It isnt the buttons it is the form itself. A form has margins.

just add style="margin:0" to the form tag to stop the spacing.

They have: 461 posts

Joined: Jul 2003

thanx. that's working. i've had this issue before (haven't used forms in ages) nore do i have it with ANYTHING but the buttons/images

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

Is the problem resolved?

BTW, sample code always helps.

Busy's picture

He has: 6,151 posts

Joined: May 2001

Another thign with forms, putting the tags outside of a table or div can change the margins/alignment of the form

They have: 461 posts

Joined: Jul 2003

yes. adding that style line worked fine.

like i said, i never had the issue before and it only appears with buttons, so it perplexed me. i also didn't think of using css. i figured there was some html attribute i was overlooking

POSIX. because a stable os that doesn't have memory leaks and isn't buggy is always good.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.