For compatibility, it's always best to test your CSS in several browsers. IE, particularly, has crappy CSS support. Firefox is pretty good and Opera is excellent.
Making things work both IE and standard-compliant browsers will make you tear your hair out though. The best way to go about it is: 1. Accept that a part of your visitors might see the website slightly askew or 2. Detect user's browser and apply a style sheet customized for that browser.
I love having fun with multiple style sheets. The homepage of fourhobbits.net (http://www.fourhobbits.net) will load a different style sheet everytime the page is loaded, and on nightfall.fourhobbits.net (http://nightfall.fourhobbits.net) users can select a style at the top and it'll stay with them as they surf the various pages. They're not "pure" CSS though, I still use tables.
no subject
Date: 2008-01-10 05:33 am (UTC)Making things work both IE and standard-compliant browsers will make you tear your hair out though. The best way to go about it is: 1. Accept that a part of your visitors might see the website slightly askew or 2. Detect user's browser and apply a style sheet customized for that browser.
I love having fun with multiple style sheets. The homepage of fourhobbits.net (http://www.fourhobbits.net) will load a different style sheet everytime the page is loaded, and on nightfall.fourhobbits.net (http://nightfall.fourhobbits.net) users can select a style at the top and it'll stay with them as they surf the various pages. They're not "pure" CSS though, I still use tables.