DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   HTML and CSS (http://www.daniweb.com/forums/forum143.html)
-   -   Simple HTML Question (http://www.daniweb.com/forums/thread121781.html)

panther786 Apr 30th, 2008 1:00 pm
Simple HTML Question
 
Hi.

In a table data I have four lines of text each line separated by a <br>
The text are different font sizes. The issue I am having is that the lines have space between them above and below. How do I get the lines of text closer together using simple html?

text line 1
|
(this space)
|
text line 2

Regards

rudevils Apr 30th, 2008 10:26 pm
Re: Simple HTML Question
 
try to use line height in ur css, like this
.yourstyle {
 line-height: 16px; (its depend on your needs)
}
hope it help


All times are GMT -4. The time now is 2:04 am.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC