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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I get spaces between lines....

Status
Not open for further replies.

maxelcat

Technical User
Oct 19, 2006
79
I have embeded a font for use with a .txt and a .css file. When I publish and run I have lost some (but not all) of the formatting of my text - colours, fonts (embedded) and sizes are still there but I can't seem to get a line break. This implies that I am missing something easy but I can't find it.

Here is the file on the web - click the "testimonials" link.
here is the code for the .txt file
Code:
comments=<h2>Testimonials</h2>
<span class="intro">The below are all comments made by some of our customers!</span>
<p>Andy has carried out an outstanding job with great humour and cheer. He is to be commended on the way he has represented your company- well done!</p>
<p>We are very satisfied with the work Andy has done. It is to a high standard and finish. He obviously takes pride in his work and enjoys what he does.</p>
<p>We are extremely pleased with this installation and highly recommend the workmanship.</p>
<p>Excellent workmanship, we are really pleased with the deck work.</p>
<p>An excellent job and everything left clean and tidy.</p>
<p>Excellent workmanship. Friendly and cooperative, Andy obviously takes great pride in his work and has done a beautiful job; we are delighted with the result.</p>

and here is the .css file
Code:
h2	{
	font-family:fontVerdana;
	font-size: 18px;
	color: #000000;
	font-weight:bold;
}


p	{
	font-family:fontVerdana;
	font-size:14px;
	color:#661900;
	line-height:20px;
	margin-left:10px;
	}

/*.bodytext	{
	font-family:fontVerdana;
	font-size:14px;
	color:#661900;
	line-height:20px;
	margin-left:10px;
	}
	
*/	
.intro	{
	font-family:fontVerdana;
	font-size:14px;
	color:#000000;
	line-height:20px;
	margin-left:10px;	
	}

Would appreciate some help!

Thanks
Edward
 
sorted - just saved the .txt file as a .html file and bob's your jolly old uncle...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top