CSS:
.btn {
border: 1px solid black;
background-color: lightgray;
padding: 5px 10px;
margin-top: 50px;
}
HTML EXAMPLE:
<a href="#" class="btn">Add to cart</a>
And here's what's happening:
http://puu.sh/1el4S
(the text above is wrapped in paragraph tags, removing them nor putting the button inside of them helps)
You may notice that I put margin-top: 50px in to see if it changes anything, it doesn't. Why? And how can I fix this?
This post has been edited by creativecoding: 13 October 2012 - 02:22 AM

New Topic/Question
Reply




MultiQuote





|