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.

How to fix an @charset validation error

When I was running a newer site through the CSS3 validation test, I received the following, cryptic error message: This profile has a very specific syntax for @charset: @charset followed by exactly one space, followed by the name of the encoding in quotes, followed immediately by a semicolon. @charset ‘utf-8′; The line I had been […]