// 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;
}
.form_head {
margin-top: 20px;
color:#58585a;
font-size:22px;
display:block; /* Add this */
}
#outer {
width:500px;
height:200px;
background:#FFCCCC;
margin:50px auto 0 auto;
display:block;
}
#inner {
background:#FFCC33;
margin:50px 50px 50px 50px;
padding:10px;
display:inline-block;
}
Code Example |
---|
Css :: center div |
Css :: add color on image using css |
Css :: how to ignore an element from the flexbox container |
Css :: css scale |
Css :: css if select has value |
Css :: round the value of 2 decimals in java |
Css :: jquery css unset(remove) certain style |
Css :: increase space between dashed border css |
Css :: css flexbox |
Css :: ellipsis |
Css :: webpack animate.css |
Css :: single product page woocommerce css |
Css :: remove background from image |
Css :: padding block |
Css :: css table flex |
Css :: id ends with css |
Css :: repeating gradient |
Css :: media types in css |
Css :: deobfuscate css |
Css :: How to keep same background-image ratio/size on all different screen sizes? |
Css :: em in css |
Css :: change hover color link in wordpress |
Css :: tailwind icon animation |
Css :: box sizing css |
Css :: Css left-to-right animation. |
Css :: NeuMorphisme button code |
Css :: css video background filter darken |
Css :: what is display inline |
Css :: css slick js load slider jump |
Css :: css border-boz |