I did not want these red lines. They are not really lines. They are spaces between the divs. Red is the color I set for the container div inside which other divs rest. 

Unwanted spaces between the div
tages totally confused me. They appeared on every browser. Made me think that I know nothing about HTML/CSS. Made me feel like an incompetant loser. I was frightened. Disillusioned. Frustrated. nuff said. 


paragraph tag is the culprit. 

Put this awesome little code in your CSS. 


p {
padding: 0;
margin-top: 0;
margin-right: 0;
margin-bottom: 1em;
margin-left: 0;
}

TADA. Spooky spaces gone. 




Post a Comment

Popular posts from this blog

Plucking tea with Happiness

A Perspective of Sri Lankan Bus Conductors

Unconditional Love?