SyntaxFix
Write A Post
Hire A Developer
Questions
You could use php to echo the browser name as a body class, e.g.
body
<body class="mozilla">
Then, your conditional CSS would look like
.ie #container { top: 5px;} .mozilla #container { top: 5px;} .chrome #container { top: 5px;}