Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


Hi, :-)

On Wed, Dec 15, 2010 at 08:46, Christian Lohmaier
<lohmaier+ooofuture@googlemail.com> wrote:
[1] http://www.test.libreoffice.org/get-help/installation/

Might be a bad example, as there are lots of empty paragraphs in there.

a paragraph just for the anchor tag, and yet another one completely
empty. For example:
<h3><a style="text-decoration:none;"
name="De-Installation_of_a_Previous_Version_of_LibreOffice_for_Windows">De-Installation
of a Previous Version of LibreOffice for Windows</a></h3>
<p><a style="text-decoration:none;"
name="De-Installation_of_a_Previous_Version_of_LibreOffice_for_Windows">
</a></p>
<p> </p>
<p>Lorem ipsum dolor [...]</p>

Note that the heading itself has the anchor, and the <p> just below
contains the same anchor, then yet again a completely empty paragraph,
then follows the text.

That is the reason for the huge gaps between header and paragraph in this case.

Also note that for anchors, you don't need to use <a> tags, and
especially you don't need to surround text with them (and use
text-decoration:none to disable treating it as a link).
using
<h3>headertext<a id="someid"></a></h3> does the trick as well, as would do:
<h3 id="anchorname">headertext</h3>

Darn! I'll clean that up and fix those links shortly - I'm just
working an another page right now.

David Nelson

-- 
Unsubscribe instructions: E-mail to website+help@libreoffice.org
List archive: http://www.libreoffice.org/lists/website/
*** All posts to this list are publicly archived for eternity ***

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.