Re: Validating a page

by "W. Jeffrey Rankin" <jrankin(at)jeffr.net>

 Date:  Fri, 8 Dec 2000 07:42:10 -0500 (EST)
 To:  Harshdeep S Jawanda <harsh(at)pspl.co.in>,
hwg-techniques(at)hwg.org
 In-Reply-To:  co
  todo: View Thread, Original
Hello again:

Off the top of my head I think the style approach works in IE 4+ and maybe
NN4+, but you're correct, it won't work in old browsers.

On the & thing, your query string will work if you encode the & as &amp;,
e.g.:

<a href="http://www.something.com/status?username=xyz&amp;abc=pqr"><img 
src="something"></a>

Your &amp; will be interpreted as an "&".

- Jeff

===================================================
Jeff Rankin	jrankin(at)jeffr.net

http://www.jeffr.net/

Be Valid To Be Cool
===================================================

On Fri, 8 Dec 2000, Harshdeep S Jawanda wrote:

> Hi,
> 
> Thanks for your suggestions, but...
> 
> "W. Jeffrey Rankin" wrote:
> 
> > Try setting up your margin properties in a stylesheet, e.g.:
> >
> > <body style="margin-top: 0px; margin-left: 0px;">
> 
> This was the first thing I thought of - the only point against it is that it
> will not work with older browsers. Plus, I have yet to check whether this
> works IE and NN 4 onwards or not. Can anybody out there save me some time
> :-)?
> 
> > Change your &'s to this: &amp;
> 
> There's been a slight misunderstanding here :-) - perhaps I didn't explain
> clearly enough. What I am talking about is code of the form:
> 
> <a href="http://www.something.com/status?username=xyz&abc=pqr"><img
> src="something"></a>
> 
> In this type of code, the W3C validator calls "&abc" an undefined entity
> :-)...
> 
> --
> Regards,
> Harshdeep Singh Jawanda.
> 
> 

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.