/ Published in: PHP
From an awesome comment on how you can use PHP to apply the unique ID to to the body element. This will return the name of the PHP file being executed as the ID (e.g. body id="index.php"). To leave off the .php part, just remove the ".php" part.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
URL: http://css-tricks.com/id-your-body-for-greater-css-control-and-specificity/