category: css

02
MAY
2010

WordPress & HTML5

Posted by Shane

I am hoping a lot of you out there that read my blog are design and wordpress users because changing your site to conform to HTML5 will not be that hard. I have changed 3 lines.

Index: E:/My Site/Code/trunk/header.php
===================================================================
--- E:/My Site/Code/trunk/header.php    (revision 252)
+++ E:/My Site/Code/trunk/header.php    (working copy)
@@ -1,6 +1,6 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
-<head profile="http://gmpg.org/xfn/11">
+<!DOCTYPE html>
+<html <?php language_attributes(); ?>>
+<head>
 <title><?php wp_title(' | ', true, 'right'); ?><?php bloginfo('name'); ?></title>

 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
@@ -59,7 +59,7 @@
 </div>
 <div id="content">
 <div id="logo">
-        <a id="site-link" href="/" title="<?php bloginfo('name'); ?> | <?php bloginfo('description'); ?>" />
+        <a id="site-link" href="/" title="<?php bloginfo('name'); ?> | <?php bloginfo('description'); ?>"></a>
 </div>
 <div id="header-navigation">
 <ul id="main-navigation">

After that it was pretty much valid for HTML5 through out the entire site. Pretty sweet huh? Oh.. site validates now with HTML5. :) You should still run your site through the vaildator to make sure that nothing else is messed up, but all my pages complied the first time and that was from XHTML 1.0 to HTML5.

13
JAN
2010

Updated ‘History’ Page

Posted by Shane

With the recent find of lots of different files in my old HDD that I was able to access today, it also contained all my old ‘rabbit hole’ designs dating back to 2003 through 2006. If you have read my history page, the site was offline from January 2006 through June 2008 until I brought it back online when I was down in Virgina.

Check it out! Boy have things changes… :-)

24
NOV
2009

Site a bit messed up…

Posted by Shane

As the topic says… the CSS and XHTML is all fail right now. I am working on getting all the CSS and XHMTL working within the next day or so. This all stems from me wanting to move the CSS to CSS3 for easier rounded borders.

3am Update: I got a lot of the new markup done. A few problem remain, but I will leave them for tomorrow when I am more awake.

4am Update: Ok. Officially going to bed. I just imported all my posts in my dev blog to see how things are going. I see what needs to be done and I am going to do it tomorrow! Peace! :)

10am Update: I updated the site with the new theme files. Everything is wacked, but I needed more content to test with that I did not have locally.

3pm Update: Almost all files are done. Doing the page css now. Next post I should say “DONE!” :)

23
APR
2009
30
OCT
2008

Threaded Comments

Posted by Shane

I got threaded comments now working on my theme. It took a while, but they work nicely with my Live Comment Preview item. So you can click on the ‘Reply’ for the post, and it will bring the reply window up. Once you submit to that comment, it will attach itself to that post. I have it set right now to 4 max_depth commenting, which should be plenty. I gotta work on the CSS for the children, but that will happen in due time.