On 04/08/2004, at 10:32 PM, Jim Barricks wrote:

 Hi Justin,

I can't believe I put that page up. The changes were all putting a </li> at the end of the lists.
They were all minor and I have corrected them easily. BUT the problem is still there. :(

Well, you didn't tell us that the watermark was generated content from a JS file, and I didn't look. Even though your source validates, you must understand that the (X)HTML that the javascript program writes internally doesn't appear in the source that W3C validates.


Taking a quick look at the JS, there are plenty of things that aren't valid HTML at all. Lot's of items don't have quotes, there are some deprecated tags and attributes, you've got upper and lowercase tags and attributes all over the place, etc etc.

It would also appear that all the styling for the watermark is done from within the JS file too.

In short, your problems are here. The HTML that the JS writes must be valid for the DOCTYPE you're using (although it's very hard to check this, if not impossible), and the CSS you use to style the watermark inline must also be valid.

I'd start be getting it to work without any JS, then modify your JS to use the valid HTMl you've tested and validated.


--- Justin French http://indent.com.au

*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************




Reply via email to