/    Sign up×
Community /Pin to ProfileBookmark

seperation between elements

I need to get some input elements to have no distance between the top and bottom of them. i have the code

[code=html]<input type=”text” name=”user” value=”Username” onFocus=”Javascript:if(this.value==’Username’){this.value=”}” /><br />
<input type=”password” name=”pass” /><br />
<input type=”submit” name=”submit” value=”Login” /><input type=”submit” name=”submit” value=”Reg” />[/code]

and want there to be no space between the bottom of one and the top of the next. any ideas?
my CSS for these is

[code=html]input {
padding: 0px ;
font-size: 10px ;
border: 1px #666666 solid ;
background-color: #999999 ;
}[/code]

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@felgallJul 07.2007 — Add one more:

margin : 0;
×

Success!

Help @necromantula spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...