user287745
user287745

Reputation: 3161

a css style which makes buttons appear as light weight tab buttons

please provide links or write your own(extra points +1 too :-P )

using :- asp.net c# css vs08

want

a style which makes button appear as tab, like that of stackoverflow.

the buttons like QUESTIONS, TAGS, USER, BADG,UNANS,ASK.

Upvotes: 0

Views: 3500

Answers (2)

Brandon Durham
Brandon Durham

Reputation: 7717

Do you actually mean button, as in:

<button>Button Text</button>

Either way, here ya go:

button.buttonclass,
a.linkclass {
    background: rgb(119,119,119);
    color: white;
    display: inline-block;
    font: bold 15px/1.4 Arial, Helvetica, sans-serif;
    padding: 5px 15px;
}

Upvotes: 1

chprpipr
chprpipr

Reputation: 2039

<asp:Button ID="TestButton" runat="server" CssClass="SOButton" Text="Button Text" />

<style type="text/css">
    input.SOButton {
       border:none;
       background-color:#807F83;
       color:#FFFFFF;
       font-weight:bold;
       font-family:Arial,Liberation Sans,DejaVu Sans,sans-serif;
    }
</style>

Upvotes: 1

Related Questions