Over himself, over his own body and mind, the individual is sovereignJohn Stuart Mill
Also relates to Web Standards
The Forest Adventure website is a project I worked on early in 2002. At the time my construction focus was on keeping a design to the client's requirements, while ensuring the document validated. This site was built with HTML 4 Transitional, since the layout was reasonably demanding and tables still dominated. I decided to go back over this site this afternoon, in an attempt to build it more inline with Web Standards using more advanced CSS and XHTML 1.0 Strict. The home page is very image intensive, and there is a third level of navigation that is really redundant, but the layout evolved from the client's own wishes, so I have kept to the same structure.
The first draft was not difficult, and the new markup and style sheet took about 3 hours to put together. I also reworked the images, reducing their file sizes using alpha transparencies in Fireworks (many of them sit on the speckled green background of the page).
The total file size of the new version was just over 100KB, reduced from 140KB, with the actual page and style sheet coming in around 10KB (excluding some metadata). Some interesting points
h3+p with alternating h3 defined as members of the same class. The result
of this worked great in Opera and Mozilla, but of course, IE does not understand the direct descendant selector. So instead the
first draft
falls foul to classitis a bit and associates each h3 and p to an alternating class. The effect on bandwidth is not
significant, but the former approach is so much cleaner.I am quite pleased with the outcome of this draft, since at first glance it looked like a quagmire of tabular code that just wouldn't fit into the scheme of Web Standards markup. The new version is perfectly accessible in text based browsers, and much more portable. And it passed validation at first run, where normally there is an error to clean up somewhere, so something is going right!?
Posted on Jul 03, 2003 at 22:54:20. [Comments for Another Facelift, Forest Adventure- 0]
Also relates to Web Standards and Accessibility
I recently came across the Wildfowl and Wetlands Trust website. An excellent cause, and close to the heart, with a local centre not far from me in Slimbridge. The website is full of content, but alas, like so many, the markup of the site heralds back to the old days of extensive table nesting, deprecated font tags and shim graphics. With extensive content, I would like to have been able to view the site through my Lynx browser, for quick access and navigation, but the markup simply doesn't make this feasible.
There still seem to be so many websites in the UK being built with bad practices and lack of conformance for Web Standards and Accessibility. It is a real shame! And perhaps potential clients need to better informed of the cost-benefits, potential visitor revenue, indiscrimination, and search engine optimisation that can all be acheived by a confirming website. Anyway, I decided to have a quick stab at cleaning up the home page of the WWT, using CSS 2 and XHTML 1.0 Strict.
The first draft (well actually it is the second, since the first pass with absolute positioning seemed to create some rendering issues across browsers) seemed to fit together quite nicely. It carries well across all the major Windows Browsers ( IE, Netscape 7, Mozilla and Opera 7) however I haven't had a chance to test it on other platforms yet.
The draft is still fairly rough, but the XHTML validates as does the CSS, and although I have not fully optimised the MarkUp to meet the most stringent of Accesibility Guidelines, I have added appropriate markup to allow the to page meet the requirements for Level A Conformance.
The benefits are immediately obvious.
When I get some time I hope to improve on the current version and see how low I can actually get the bandwidth usage. I will also raise a few of the issues that I have encountered.
Posted on Jul 01, 2003 at 22:36:48. [Comments for Conforming WWT To Web Standards- 0]