chris_angell
08-31-2007, 05:39 PM
hello i have a button in css and i am trying to get a coloured border around it.. i am using background-color: it only puts a box just around the edge but i would like a box with border and padding ?? any ideas how i can do this....
this link may help,, this shows what i am trying to do<<
http://www.moocowmedia.co.uk/images/example.gif
here is my css..
a.Buttons {
font-family: Trebuchet ms, verdana, Arial, Helvetica, sans-serif;
font-size: 11pt;
color: #ffffff;
text-transform: lowercase;
text-align: left;
background-color: #1AC6F0;
text-decoration: none;
}
a.Buttons:hover {
font-family: Trebuchet ms, verdana, Arial, Helvetica, sans-serif;
font-size: 11pt;
color: #000000;
text-transform: lowercase;
text-align: left;
background-color: #1AC6F0;
text-decoration: none;
border:2px;
}
this link may help,, this shows what i am trying to do<<
http://www.moocowmedia.co.uk/images/example.gif
here is my css..
a.Buttons {
font-family: Trebuchet ms, verdana, Arial, Helvetica, sans-serif;
font-size: 11pt;
color: #ffffff;
text-transform: lowercase;
text-align: left;
background-color: #1AC6F0;
text-decoration: none;
}
a.Buttons:hover {
font-family: Trebuchet ms, verdana, Arial, Helvetica, sans-serif;
font-size: 11pt;
color: #000000;
text-transform: lowercase;
text-align: left;
background-color: #1AC6F0;
text-decoration: none;
border:2px;
}