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.
<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>
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;
}
精彩评论