CSS Goodness!

I just finished working on two custom templates/themes for WordPress. I used no HTML tables, just <div> tags and CSS. There were two <img> tags – one each for the XHTML validation badge and the CSS validation badge. All the other images were background-images in CSS.

What’s most shocking is that I have one code base (XHTML and CSS) that works in IE 7+ (even in IE 7 quirks mode), Google Chrome, Firefox, and Apple Safari. I’m psyched. This is the first time in my career that I haven’t had to write javascript to detect the browser version. Of course, I am assuming that my visitors have more recent versions of their browser. That’s why I put a “this site optimized for…” deisclaimer at the bottom. Hopefully, it won’t look too awful in older browsers.

The sites both validate against XHTML and CSS. I’m really excited about this. I almost can’t believe it.

As soon as my domain name (cerkit.com) transfers to GoDaddy, I’ll post my new custom template/theme to the site and start piling on the blog entries!

Advertisement

~ by Michael Earls on January 23, 2010.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.