/    Sign up×
Community /Pin to ProfileBookmark

Change the look of buttons

I want my buttons to look different to the ones supplied by input forms in HTML.

I have looked at several ideas which mostly involve creating .gif pictures in paint programs.

However, isn’t there a way of altering attributes of a button in a style sheet, to give it different background colour, pushed-in colour, text, width, height etc in the same way you can customise text input in forms?

Any comments.

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@SoreheadFeb 27.2007 — Just give the button an id or class and change the attributes in the stylesheet, height background etc, but if you looking for a fancy button you would be better off using an image .
Copy linkTweet thisAlerts:
@spiresgateauthorFeb 27.2007 — Looks like the answer to my question is 'yes'.

A quick look at the suggested tutorial seems to be the way ahead. thanks to you both.
×

Success!

Help @spiresgate 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.16,
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,
)...