WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Critique wanted on CSS Tutorial (2 posts)

  1. JaneLitte
    Member
    Posted 8 years ago #

    I hope you'll excuse the mess on my tech blog. It's a testing site for my main blog so the theme is quite unfinished, but I wrote up a tutorial on the css styleswitcher tutorial by A List Apart. It's kind of a CSS Styleswitcher for Dummies (of which I am one). I hoped some people could critique whether it was useful and whether it is right.

    tutorial

  2. Christopher J. Hradil
    Member
    Posted 8 years ago #

    There are many different ways of accomplishing the same result that it looks like you're aiming at, which is the ability for a user to choose a "personal" look and feel for your site. That's a great feature, especially for a site which would discuss css styling.

    However, personally, I would focus on writing valid standards compliant code (which also eliminates most cross browser issues) before trying to get fancy with the style switching (there are a number of plugins available which are capable of producing standards compliant code as well, which is a nice bonus for that type of effect).

    Here are the w3c validator results for your existing xhtml and css files:

    http://validator.w3.org/check?uri=http%3A%2F%2Fdearauthor.com%2Ftech%2F%3Fp%3D4

    http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fdearauthor.com%2Ftech%2Fwp-content%2Fthemes%2Ffoliage_mod2%2Fstyle.css&usermedium=all

    http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fdearauthor.com%2Ftech%2Fwp-content%2Fthemes%2Ffoliage_mod2%2Fstyle175.css&usermedium=all

    http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fdearauthor.com%2Ftech%2Fwp-content%2Fplugins%2Faf-extended-live-archive%2Fincludes%2Faf-ela-style.css&usermedium=all

    for me at least, a good part of the reason for using xhtml/css to begin with is to make my life easier by producing standards compliant, accessible, cross browser compliant code, thus eliminating any extra effort required to do such things as "tailor" separate style sheets for each browser, then attempt to make that system work with javascript which is not likely to work with all of the browsers the "special" css is written for anyway.

    standards, standards, standards.

Topic Closed

This topic has been closed to new replies.

About this Topic