Displaying 1 result from an estimated 1 matches for "complex_ie6".
2007 Dec 09
5
Browserized Styles Plugin
...esheet in stylesheets/complex.css.
My stylesheet link tag looks something like this:
<%= stylesheet_link_tag ''complex'' %>
Now all I have to do to target a browser is create a new CSS file with
the browser''s identifier appended to it with an underscore (e.g.
"complex_ie6.css"). That''s it! The same exact stylesheet link tag will
automatically check the current user agent and load a browser-specific
CSS file if it exists. Ta-da! One-step browser styles!
=== Identifiers ===
Browsers are identified as following. You would create the CSS file as
"yo...