/    Sign up×
Community /Pin to ProfileBookmark

Button Border Problem

Hi,

I am struggling to get the grey border around my submit buttons to disappear.

[url]http://itechnician.co.za/[/url]

the code for the button is:

<input type=”image” name=”submit” width=”59px” height=”23px” border=”0px” onmouseover=”this.src=’images/but-submitO.jpg’;” onmouseout=”this.src=’images/but-submit.jpg’;” value=”submit” src=”images/but-submit.jpg” alt=”submit” style=”border:none;”/>

I have also specified in my style sheet:

img {
border:none;
}

Any ideas?

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@cootheadJun 11.2012 — Hi there leighchic,

try adding this to your style-sheet...
[color=navy]input[type=image] {
border:0;
padding:0;
}
[/color]

If "[i][type=image][/i]" is not supported then give the "[i]input element[/i]" an id and use this...
[color=navy][color=red]#your-id[/color] {
border:0;
padding:0;
}
[/color]

[i]coothead[/i]
Copy linkTweet thisAlerts:
@leighchicauthorJun 11.2012 — Thank you! that worked - the first one you suggested! :-) Many thanks,
Copy linkTweet thisAlerts:
@cootheadJun 11.2012 — [indent]No problem, you're very welcome. ?[/indent]

[i]coothead[/i]
×

Success!

Help @leighchic 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 5.17,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...