How do professional web designers create cross-browser CSS? Is it generally done by hand, or are there toolkits that can streamline the process, like YUI does for JavaScript? I'd prefer to stay away from WYSIWYG editors like DreamWeaver. Thanks!
It's generally done by hand.
It typically starts by applying a CSS reset to even the playing field.
And you should aim at standards compliant CSS and then only as a last resort apply hacks for IE (yes I just called it out).
For tools & services i tried Browsershot and Spoon:Browsers. Also for tips and tricks, i found this article and this helpful.
WYSIWYG editors are very rare in the professional world.
Toolkits like YUI, jQuery, etc... are very popular since they offer a lot of cross-browser Javascript functionality.
However, for CSS, twiddling by hand with lots of swearing to get IE6 to work is common. Websites like quirksmode can help you out by pointing out browser-specific quirks.
Most people just design to a common baseline: Firefox and/or Safari and Chrome. under most circumstances, the design will then Just Work with everything except the various versions of IE, for which one simple set of custom rules will fix.
I think they pretty much have learned css compatibility across browsers. There are a multitude of charts on the internet that explains whats supported on each browser in detail and how it affects the rendering of the page.
来源:https://stackoverflow.com/questions/1455913/cross-browser-css