Re: How to avoid a space when doing a line break



"Stefan Mueller" <seekware-remove-@xxxxxxxxx> wrote:

> I'd like to write my html code in a structured way.

Fine.

>
> Therefore I don't like to write
> Please click here: (<a href = "next.html">link</a>)
> --> Output: Please click here: (link)

"Output"? HTML is not a programming language.

Anyway, it's indeed bad practice. "Please click here" is foolish for many
reasons, though less foolish outside link text than inside it. Consider what
it looks like on paper, or in a browsing environment without anything to
click with. It also distracts from the context.

> I prefer
> Please click here: (
> <a href = "next.html">
> link
> </a>
> )
> --> Output: Please click here: ( link )

Why would that be better?

It seems that by "structured" you mean "prettyprinted". In that case, the
rules of HTML constitute a limitation. Spaces are significant as separators.

> Does someone know if there's a tag or something like that to tell the
> browser not to add a space?

You are kidding, aren't you?

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

It's not simple enough. And the onmouseover stuff most probably causes just
annoyance and distractions. But this does not affect the basic problem.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html


.



and other tags
... that the event is fired in the HTML document by adding OnMouseOver to ... the tag and it worked. ... Now I want to catch it in my CDHTMLDialog class and...nothing happens: ... The HTML file:...
(microsoft.public.vc.mfc)
  • Re: DHTML_EVENT_ONMOUSEOVER not caught for
  • and other tags
    ... I am trying to catch this event othe TR and TABLE tag.... that the event is fired in the HTML document by adding OnMouseOver to ... The HTML file:...
    (microsoft.public.vc.mfc)
  • Re: cant make table height smaller
    ... HTML is not a page layout language; ... But the basic problem is pixel-measuring. ... The basic problem is use of tables for layout. ... If you don't want to fix that, then the secondary problem is, within the tables, using pixel measurements. ...
    (alt.html)
  • Re: Style sheets not being applied
    ... "none of my styles are being applied to my html". ... Most probably, the CSS file is not at the relative address "table.css" specified in the HTML markup - perhaps the OP didn't upload it, or uploaded it under the name "Table.css", or there is no read access to it. ... If the URL had been posted in the initial message, the basic problem would most probably have been solved within a few minutes. ...
    (comp.infosystems.www.authoring.stylesheets)
  • Relevant Pages