Hi Jaime
On 25 Feb 2004, at 09:12, JW wrote:
Hi all
�
I have copied a page from my website and make the DTD XHTML 1.0 Strict just to see the diff btwn transitional and strict. You can see it here http://www.sodesires.com/about/strict.html
�
Well the�xhtml validation shows error but even after reading the explanation of errors, I still could not really understand what they meant!
�
Below are the results of attempting to parse this document with an SGML parser.
1. Line 11, column 17: there is no attribute "language" (explain...).
<script language="JavaScript" src="../scripts/js/SODglobal.js" type="text/javasc
Not sure with Strict, I'll leave this to someone else...
^
2. Line 38, column 85: there is no attribute "name" (explain...).
.../header_title/about.gif" alt="" name="headertitle_default" width="235" height
No name attribute for img. Not too clued up on the reasons for this one (apart from it being deprecated), but it's simple enough to remove.
^
3. Line 38, column 138: there is no attribute "border" (explain...).
...ault" width="235" height="80" border="0" id="headertitle_default" /></div>
Use CSS to take away borders (i.e. you can do this univerally to all images by simply adding:
img { border: none; }
... to your CSS file(s).
^
4. Line 70, column 68: there is no attribute "target" (explain...).
...t.com/gallery/so_desires.php" target="_blank" class="aLeftCol">CSS Vault</a>
You've stumbled across a sore point for certain people using Strict... you can't use target attribute in a link. YOu'll after dig out javascript (or other means).
^
5. Line 74, column 125: there is no attribute "hspace" (explain...).
... pixel" width="7" height="23" hspace="10" />:: </span><span class="ttLeftCol"
No hspace attribute in images either, use CSS to add margin to the image.
All these are pretty elementary, and should stop you achieving validation.
^
�
�
With Regards,
Jaime Wong
~~~~~~~~~~~~~~~~~~~
SODesires Design Team
http://www.sodesires.com
~~~~~~~~~~~~~~~~~~~
-------Original Message-------
�
From: [EMAIL PROTECTED]
Date: 25/02/2004 2:30:59 AM
To: [EMAIL PROTECTED]
Subject: Re: [WSG] DTDS and which to use?
�
Hi Jaime, you may also find this article of some use.
Addy: http://leavesrustle.com/articles/124/
Good luck.
Regards, JG
�
�
> I have always work with XHTML 1.0 Transitional and never really bothered
> with Strict until I yesterday when someone sub a project to me saying that
> the client wanted the page done using Strict because it is the latest. Is
> being the latest the point in using strict? I find it kinda amusing.
>
> What's the difference actually between the 3 besides how the web generates
> the page and how do you decide which to use? Pondered over this because I
> have never tried working with strict and now that I have, W3C xhtml
> validator is showing bunch of errors which I have no idea why it could be
> errors. Basically limiting me to the core. Urggh! Why would a person
> decide
> when to use Strict?
>
> Wouldn't using transitional be easier for making it work with certain
> database, scripts etc like for e.g. movable type?
>
> Anyone has a link to an online tutorial with working with strict xhtml
> dtds
> besides those links at W3C?
>
> Sorry for this non CSS related topic but just hope the list could help
> clear
> my confusion :)
>
> With Regards,
> Jaime Wong
> ~~~~~~~~~~~~~~~~~~~
> SODesires Design Team
> http://www.sodesires.com
> ~~~~~~~~~~~~~~~~~~~
�
*****************************************************
The discussion list for http://webstandardsgroup.org/
*****************************************************
�
�
�
_____________________________________________________________
Why Pay $35 for a .COM, .NET or .ORG Web Address? iDotz.Net offers Cool Domains @ Great Prices! Starting @ $8.75 Go: http://www.idotz.net
*****************************************************
The discussion list for http://webstandardsgroup.org/
*****************************************************
.
____________________________________________________ <image.tiff>� IncrediMail - Email has finally evolved - Click Here
Kind regards Martin Chapman
--
Web development, identity and design.
co-ord.com Limited 9 Tynwald Road West Kirby Merseyside CH48 4DA
Tel: +44 (0)151 625 1443 Email: [EMAIL PROTECTED]
http://www.co-ord.com
--
***************************************************** The discussion list for http://webstandardsgroup.org/ *****************************************************
