Re: Error Message Feedback - html validator will not validate if images are displayed as asp!!!

Nicky wrote:
> I do not understand why the html-validator will not accept my alt=
> for my top banners. If I remove the asp code the code is validated…

Because it's getting confused by the ASP code that it should never see.

> <div class="topBannerleft"><img
> src=<%response.write"images/topBanner1left.gif"%> alt="Top banner!"
> /></div>

That code should be processed by your server and never seen by any user 
agent.  The validator needs to see the same code that a browser would 
see, not the code your server side processes use.

> It seems that this code will not validate if I write the images with
> asp! Is this correct or is it a bug?

It's not a bug with the validator, you're not giving it the correct code.

-- 
Lachlan Hunt
http://lachy.id.au/

Received on Saturday, 5 November 2005 05:13:24 UTC