> -----Original Message-----
> From: Michael Zornek [mailto:[EMAIL PROTECTED]]
> Sent: 13 August 2002 02:26
> Ok so in my HTML I have:
> <img src="img/tab_1l.gif" width="9" height="24">
> <img src="img/home_on.gif" width="80" height="24">
> <img src="img/tab_10.gif" width="15" height="24">


> anyone know of a way to tell  html to ignore these spaces?

Well, the obvious one is HTML comments, since that's the way to tell HTML to
ignore anything:

   <img src="img/tab_1l.gif" width="9" height="24"><!--
   --><img src="img/home_on.gif" width="80" height="24"><!--
   --><img src="img/tab_10.gif" width="15" height="24">

Another technique I use quite a bit is newlines *inside* the HTML tags,

    src="img/tab_1l.gif" width="9" height="24"><img
    src="img/home_on.gif" width="80" height="24"><img
    src="img/tab_10.gif" width="15" height="24">



Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to