[thelist] Site Test (XHTML 1.0 Strict)

David Bindel dbindel at austin.rr.com
Wed Sep 4 06:35:01 CDT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]On Behalf Of Tim Parkin
> Sent: Wednesday, September 04, 2002 3:07 AM
> To: thelist at lists.evolt.org
> Subject: [thelist] Site Test (XHTML 1.0 Strict)
>
> I've just built my personal company site and was wondering if I could
> enlist the help of a couple of people to tell me what they think (ie rip
> it to bits). It should be XHTML1.0 Strict but I've sniffed the client
> and got a NN4 version roughly working by using a regexp block inside PHP
> Smarty (adding border=0 to linked images stripping out css etc.) Means
> I've only got one code block to maintain.
>
> The sites at www.pollenation.net.


Wow!  The site looks really good; the only thing I would improve is making a
few of the colors a little bolder and the text black, the whole page looks
really light.

Your only HUGE mistake was your coding method: you put all of your HTML and
one line.  I guarantee you that when you have to come back and make some
changes to this page that you will hate it because your code is too hard to
read.  You should always practice putting things on separate lines and if
you want to, you can even indent nested tags (I don't myself, but I know
some people say it helps them).  Here's an example of some of your code
edited for readability:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>Pollenation Internet</title>
        ...
        <meta http-equiv="Content-Type" content="text/html;
charset=us-ascii" />
        <link href="/assets/styles/styles.css" rel="stylesheet"
type="text/css" />
    </head>
    <body>
        ...
    </body>
</html>

HTH!

David Bindel
-----BEGIN PGP SIGNATURE-----
Version: PGP 7.0.4

iQA/AwUBPXXv2Lwc2umqeOxSEQKgkgCfbhCapjuFWWajelLjFzccJtO4vFkAoOMP
UIXtv1KxID63gvqJm3CIS//m
=/arD
-----END PGP SIGNATURE-----




More information about the thelist mailing list