Reply to Re: Spacing Tag

Your name:

Reply:


Posted by Jonathan N. Little on 09/07/06 13:05

freesoft_2000 wrote:
> Hi everyone,
>
> Does anyone know the the html tag for spacings via the space
> bar on the keyboard just like the <br></br> is to break a line.

Depends on that you are trying to do, if it is just to separate to
groups of letter just insert whitespace no element:

ABCD EFGH

If you just want to adjust the space around elements, 'padding' and
'margin' properties, for the word ans letters within 'letter-spacing'
and 'word-spacing'

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Word Play</title>

<style type="text/css">
..lonely { margin-left: 10em; margin-right: 10em; }
..spacey { word-spacing: 2em }
..stretched { letter-spacing: 2em; }

</style>
</head>

<body>

<p>Here is a single word that is very <span class="lonely">lonely</span>
in its paragraph.</p>

<p class="spacey">Whereas these words do not like their neighbors!</p>

<p class="stretched">And here all have been put through the wringer!</p>

</body>
</html>




--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[Back to original 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

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