Hi i have a small problem ... when i have in my normal .css file to example:
body { background-color: black; }
and i want have to example red background only in OPERA how i can do it?
Those conditional comments are for internet exploder only. Don't use hacks inside your CSS either. The best way to use separate stylesheets for different browsers is to detect the user agent via the HTTP headers. It's best done on the back end. If your server side scripts detect a particular browser, then either a particular external stylesheet is included or a few lines of CSS is placed into the head. This can also be done with javascript.
Bookmarks