White Space around Submit button - how do you remove?

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
simonmlewis
DevNet Master
Posts: 4434
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

White Space around Submit button - how do you remove?

Post by simonmlewis »

I have a simple form with an input text field, and a submit button.
Both have 3 pixel margins on them with some border radius.
However, the 'Go' button appears to have some white space above it - no idea why though.

I've tried various margin: 0, padding 0 etc.
Attachments
White Space above Go button
White Space above Go button
ss.png (2.16 KiB) Viewed 4738 times
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
Post Reply