views:

101

answers:

4

Is there any solution that allows you to design a webpage (with, say, a wysiwyg editor) and then automatically compile the design as one or several css file(s) compatible across multiple browsers?

+1  A: 

I really don't think so. There are some CSS frameworks trying to deal with this issue, the more popular one I know is called YAML. Some JavaScript libraries are dealing with cross browser CSS issues, too (don't know a particular example at the moment though).

Daff
A: 

Such solution does not exist.

Randell
+2  A: 

Typically, using a WYSIWYG editor will generate superfluous entries to your HTML mark-up and create inefficient stylesheets that don't make use of CSS shorthand.

The best way to create stylesheets that are compatible across multiple browers sadly just comes with experience. By knowing the quirks of IE6 and IE7 you automatically cater for them as you create the stylesheet.

A good reset stylesheet will help to erradicate any default differences between browsers, such as line height, body padding, etc.

The exact solution you're after doesn't exist (yet).

Joe Sergeant
A: 

You may want to use PHP to write the content of a .CSS file.

Extrakun