You are here: Re: How to avoid a space when doing a line break « HTML « IT news, forums, messages
Re: How to avoid a space when doing a line break

Posted by Neredbojias on 11/14/05 01:51

With neither quill nor qualm, Stefan Mueller quothed:

> I'd like to write my html code in a structured way.
>
> Therefore I don't like to write
> Please click here: (<a href = "next.html">link</a>)
> --> Output: Please click here: (link)
>
> I prefer
> Please click here: (
> <a href = "next.html">
> link
> </a>
> )
> --> Output: Please click here: ( link )

Proper structuring automatically accounts for whitespace.

> Unfortunately in the second version I do have a space before and after the
> word 'link'.
> Does someone know if there's a tag or something like that to tell the
> browser not to add a space?

There isn't, although perhaps the w3c will develop one in the coming
years to replace another useful tag.

> Stefan
>
> PS: This is only a simplified example which shows my problem. My real 'a
> href' has many lines like onMouseover, onMouseout, ...
>
>
>

--
Neredbojias
Contrary to popular belief, it is believable.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация