Anyone know how (or if possible) to change the spacing between lines using HTML? Hopeing to do it without doing anything really annoying like invisible tables (shudder).
To clarify: Line spacing such as double spacing or 1.5 spacing
This is a discussion on Small HTML question within the Tech Board forums, part of the Community Boards category; Anyone know how (or if possible) to change the spacing between lines using HTML? Hopeing to do it without doing ...
Anyone know how (or if possible) to change the spacing between lines using HTML? Hopeing to do it without doing anything really annoying like invisible tables (shudder).
To clarify: Line spacing such as double spacing or 1.5 spacing
Last edited by Thantos; 12-27-2003 at 01:05 AM.
Code:<p style="line-height: 1.5"> ... </p>
::edit::
damn beaten to it...but my example was nicer
>>post yours then
ok,
and i spruced it up a bit too, changed a thing or two
PHP Code:<html>
<head>
<style type="text/css">
.dblspcPara {line-height:200%;}
</style>
<!-- NOTE THAT LINE HEIGHT CAN ALSO BE PIXELS OR PT.'S -->
<body>
<p>
Some normal spaced text. Some normal spaced text. Some normal spaced text.
Some normal spaced text. Some normal spaced text. Some normal spaced text.
Some normal spaced text. Some normal spaced text. Some normal spaced text.
Some normal spaced text. Some normal spaced text. Some normal spaced text.
</p>
<br />
<p class="dblspcPara">
This is some double spaced text. This is some double spaced text. This is some double spaced text.
This is some double spaced text. This is some double spaced text. This is some double spaced text.
This is some double spaced text. This is some double spaced text. This is some double spaced text.
This is some double spaced text. This is some double spaced text. This is some double spaced text.
</p>
</body>
</html>
Last edited by Waldo2k2; 12-27-2003 at 10:11 AM.
PHP and XML
Let's talk about SAX
did the example help?
PHP and XML
Let's talk about SAX