georgeocrawford
Technical User
Here's some html:
and here's the CSS:
Can someone please tell me why the margin-top value for a.normal is ignored in this example. Whatever I set it to, from 5px to 90%, it makes no difference to the result. Am I being stupid???
______________________
George
Code:
<b>My details</b><br />
<a class="normal" href="myurl">Edit Details</a>
and here's the CSS:
Code:
body {
background : #ddd;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #0066cc;
margin: 50px 10%;
}
a {
color : #000;
text-decoration : none;
}
a.normal {
background: #fef;
padding: 3px;
border: 2px solid #333;
font-size: 13px;
margin-top: 15px;
}
Can someone please tell me why the margin-top value for a.normal is ignored in this example. Whatever I set it to, from 5px to 90%, it makes no difference to the result. Am I being stupid???
______________________
George