Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problems using <pre>

Status
Not open for further replies.

dazza12345

Programmer
Nov 25, 2005
35
GB
Hi all, just a quick question. Im trying to format some text on my website to have 1.5 line spacing.

Ive tried the following tag <pre><pre>, however when adding this to text, all the writing will be displayed on one line.

Any ideas on how this problem could be resolved?

Cheers
 
I'd agree with Chris, but i'd put it in a style sheet -

<style>
p
{
line-height: 1.5;
}
</style>

or you could set the default line spacing within a td or body (i think)....

A computer always does what you tell it to, but rarely does what you want it to.....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top