Leonardo
Leonardo

Reputation: 2459

Create css files compatible with multiple browsers automatically

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?

Upvotes: 0

Views: 290

Answers (3)

Extrakun
Extrakun

Reputation: 19305

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

Upvotes: 0

Joe Sergeant
Joe Sergeant

Reputation: 141

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).

Upvotes: 2

Daff
Daff

Reputation: 44215

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).

Upvotes: 1

Related Questions