| 
 
	
		| View previous topic :: View next topic |  
		| Author | Message |  
		| JohnV 
 
 
 Joined: 19 Nov 2004
 Posts: 4
 
 
 | 
			
				|  Posted: Fri Nov 19, 2004 3:20 pm    Post subject: CSS class style text formatting question |   |  
				| 
 |  
				| Hi, 
 I've recently created my first site entirely with CSS, but because I don't have much experience with CSS and need a little help.
 
 I have the CSS style class:
 
 
  	  | Code: |  	  | .ContentText {font-family:Verdana; font-size:11px;}
 
 
 | 
 
 When I display some text formatted with this CSS class the text row are too close to one another. Is there a way to change my CSS style so it displays greater space before and after each text row?
 
 
 
 Thanks in advance,
 
 John
 |  |  
		| Back to top |  |  
		|  |  
		| administrator Site Admin
 
 
 Joined: 01 Oct 2004
 Posts: 183
 
 
 | 
			
				|  Posted: Fri Nov 19, 2004 10:21 pm    Post subject: |   |  
				| 
 |  
				| Hi John, 
 The CSS property you're looking for is called line-height and you can use it like this:
 
 
  	  | Code: |  	  | .ContentText {font-family:Verdana; font-size:11px; line-height: 150%;}
 
 
 | 
 _________________
 Peter
 ASP & ASP.NET Articles and Tutorials
 |  |  
		| Back to top |  |  
		|  |  
		| JohnV 
 
 
 Joined: 19 Nov 2004
 Posts: 4
 
 
 | 
			
				|  Posted: Sun Nov 21, 2004 8:35 am    Post subject: |   |  
				| 
 |  
				| Thanks   
 I'll be coming back soon with more CSS questions.
 
 
 
 John
 |  |  
		| Back to top |  |  
		|  |  
		|  |  
  
	| 
 
 | You cannot post new topics in this forum You cannot reply to topics in this forum
 You cannot edit your posts in this forum
 You cannot delete your posts in this forum
 You cannot vote in polls in this forum
 
 |  
 Powered by phpBB © 2001, 2002 phpBB Group
 
 |