mrkeck Sharing the Love

26Nov/120

CSS Convention

I've started using a new convention for my css:

body{
 width: 500px; height: 500px;
 margin: 0px; padding: 0px;
 position: absolute;
 top: 0px; left: 0px;
}

Things that have pairs like (width and height) and (margin and padding) or things that work together, I put on the same line.

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

No trackbacks yet.