Proper commenting in PHP

Do NOT comment in PHP with a // double slash if you are using the closing tag on the same line, instead use the /**/ type of commenting. I am amazed of how many people do that, forgetting that anything after the // will be considered part of the comment and thus nullifying the closing […]

CSS tip of the day

If margin: auto; on the left and right sides isn’t getting you the central point you desire, try using left: 50%; position: absolute; and a negative margin half the width of the item.