You are here: Re: What's wrong with this HTML (fails validation) ? « HTML « IT news, forums, messages
Re: What's wrong with this HTML (fails validation) ?

Posted by robert maas, see http://tinyurl.com/uh3t on 02/14/07 17:21

> From: "Chris F.A. Johnson" <cfajohn...@gmail.com>
> Or use a new <p> with padding-top and margin-top set to 0.

Let me see if I can find the documentation for that ...
<http://www.w3.org/TR/CSS21/box.html>
shows only how to do it in CSS, not directly in the element, so
that's useless for me because not all browsers support CSS, in
particular the only browser available to me for testing over VT100
dialup (lynx) into unix shell doesn't support CSS.
<http://www.thescripts.com/forum/thread154512.html>
also refers to CSS, but at least it shows doing something directly
in the individual element, so let me give it a try ... No, it
doesn't work. Here's the HTML source:

Anything I haven't yet included might be found
<a href="http://merd.sourceforge.net/pixel/language-study/syntax-across-languages.html">here</a>
in much terser form but still perhaps useful if you then use Google to find
the documentation for the keyword cited there.
<p style="margin-top: 0; padding-top: 0"></p>
<em>**(I don't want a blank line here, just a forced newline.)**</em>
Also, the original perl cookbook sourcecode and partial translations to
several other languages can be found
<a href="http://pleac.sourceforge.net/">here</a>,
...

And here's how it appears on-screen.

Anything I haven't yet included might be found here in much terser
form but still perhaps useful if you then use Google to find the
documentation for the keyword cited there.

**(I don't want a blank line here, just a forced newline.)** Also, the
original perl cookbook sourcecode and partial translations to several
other languages can be found here, ...

So what do I need to do there to get rid of that blank line?

Also is there any way to prevent the blank line after the pre element here?

... So suppose you
enter two numbers, with a space between them, such as</p>
<pre>
42 69
</pre>
**(I do *not* want a blank line here!!)**
on a single line of input?
Lisp will read the 42, and print it out on a new line.

> > by itself is >.

That's disgusting. I've tried to purge my documents of all
accidental use of that crock, using &gt; whenever I want that
character to *appear* in the display of the WebPage.

 

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

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