|
|
 |
RE: FN-FORUM: Sitecheck - Updating my website - using CSS
date posted 13th March 2008 16:41
Nigel wrote:
> Agree with other suggestions to use conditional comments, e.g.
> , etc.
The problem with conditional comments is that you end up polluting your
mark-up with presentation-only elements.
Not a problem if there's only a couple of CCs, but I've had work back from
developers where half the page was made up of CC code! That sort of
approach is no better than designing with TABLEs - it makes maintenance
difficult and looks awful.
I agree that one must strive for standards-compliant code, but coding for
Firefox then checking IE right at the end, when the majority of your users
are likely to be using IE, is IMO asking for headaches. Or pissing off the
majority of your visitors if you treat them as second class users.
As the vast majority of our clients use IE (we have a lot of school
clients), we code primarily for IE6+ (sticking to standards and avoiding
IE-specific code), checking periodically with Firefox. As a better written
browser, Firefox usually requires far less adapting (usually just a spacing
adjustments) than if doing things the other way around.
Cheers, Ben
--
Ben Johnson, Neogic Web Solutions
// design . development . managed hosting
w | http://www.neogic.com
t | +44 (0)1242 808 262
e | [EMAIL REMOVED]
|
 |
|