/    Sign up×
Community /Pin to ProfileBookmark

Button Properties

i am using the following css for my buttons:

[CODE].buttons {
font-family: Garamond, serif;
font-size: 16px;
font-style: normal;
color: #003399;
}[/CODE]

is there a way of making the button bigger but keeping the text at 16px?

to post a comment
CSS

10 Comments(s)

Copy linkTweet thisAlerts:
@FangMay 17.2006 — .buttons {
font-family: Garamond, serif;
font-size: 16px;
font-style: normal;
color: #003399;
[COLOR=Green]padding:1em;[/COLOR]
}
Copy linkTweet thisAlerts:
@peteybauthorMay 17.2006 — class. how do you make the border=0 in CSS on buttons
Copy linkTweet thisAlerts:
@KDLAMay 17.2006 — The default border setting is none. You don't need to specify it.

KDLA
Copy linkTweet thisAlerts:
@peteybauthorMay 17.2006 — ok, ive actually discovered its nothing to do with the border, but if i set the value of a button to a four letter word, such as Back or Next there is a fine blue outline but when text becomes longer the outline becomes thicker with the larger box.

is there anyway round this?
Copy linkTweet thisAlerts:
@KDLAMay 17.2006 — Do you have these buttons linked? The links should be inside the input tag, not outside them.
Copy linkTweet thisAlerts:
@peteybauthorMay 17.2006 — no. i have a name for the submit buttons, which is used by PHP Header to forwward the user:

eg:
[code=php]
if (isset($_POST['back']))
{

// Add the page.
$url .= '/next_page.php';

header("Location: $url");
exit(); // Quit the script.
}
[/code]
Copy linkTweet thisAlerts:
@KDLAMay 17.2006 — Try this:
<i>
</i>.buttons {
font-family: Garamond, serif;
font-size: 16px;
font-style: normal;
color: #003399;
padding:1em;
border-style: none;
}
.buttons a {text-decoration: none;}
Copy linkTweet thisAlerts:
@peteybauthorMay 17.2006 — its not made any difference. any more ideas?
Copy linkTweet thisAlerts:
@KDLAMay 17.2006 — Can you send a link to the page in question?
Copy linkTweet thisAlerts:
@peteybauthorMay 18.2006 — [URL=http://www.tigltd.com/homequote/premiums.php]www.tigltd.com/homequote/premiums.php[/URL]
×

Success!

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