[thelist] trouble validating xHTML 1.1 forms page

Joshua Olson joshua at waetech.com
Thu Aug 14 00:21:10 CDT 2003

----- Original Message ----- 
From: "jsWalter" <jsWalter at torres.ws>
Sent: Thursday, August 14, 2003 1:13 AM

> I am trying to get a form page validated in xHTML 1.1.
>     http://home.torres.ws/cbs/edits/form_test_3.html
> A nice little image, Menu text and an onClick event to fire off a display
> change.
> I am having 2 problems...
> 1) [ there is no attribute "align" ]
>    OK, this attribute has been removed.
>    I am using align="absmiddle" because I want the 18x18 image to align
>    itself with the text label to its right.
>    If this attribute is removed, the image to too high on the text.
>    Looks bad.

Try floating the image left and then adding margin or padding to the text.

> 2) [ there is no attribute "onClick" ]
> I guess I could embed a <A> inside the SPAN, around the image/label, but I
> would rather not. Can't really tell you why, just doesn't seem very clean
> that way.

Try "onclick"... notice it's all lowercase.

Joshua Olson
Web Application Engineer
WAE Tech Inc.

More information about the thelist mailing list