Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

margin bottom not working

// Your problem is that link ("a") is an INLINE element and you cannot set margin to inlines elements. In order to make it work, you have to declare it as BLOCK element, by adding:

 a{
  display: block;
 }
 
PREVIOUS NEXT
Tagged: #margin #bottom #working
ADD COMMENT
Topic
Name
4+2 =