sandy1028 Posted February 13, 2011 Share Posted February 13, 2011 Fix the multi-line issue. I have fixed the width of the line to 250px, if the words present in the line is more , it is continued in the next line with spaces. Please see the snap shot attached. If the lines are continued in the next line, how to avoid the space. [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/227512-fix-line-height/ Share on other sites More sharing options...
haku Posted February 13, 2011 Share Posted February 13, 2011 I'm not sure if I can understand what you are asking, but maybe you want: text-align:justify Link to comment https://forums.phpfreaks.com/topic/227512-fix-line-height/#findComment-1173549 Share on other sites More sharing options...
sandy1028 Posted February 13, 2011 Author Share Posted February 13, 2011 text-align:justify also does'nt work. If it is a continuation of the previous line then, there should not be any space between the two lines. Link to comment https://forums.phpfreaks.com/topic/227512-fix-line-height/#findComment-1173635 Share on other sites More sharing options...
Jessica Posted February 13, 2011 Share Posted February 13, 2011 Make each line a <p> and add margin after it. Change the line height to 100%. Link to comment https://forums.phpfreaks.com/topic/227512-fix-line-height/#findComment-1173637 Share on other sites More sharing options...
haku Posted February 13, 2011 Share Posted February 13, 2011 I get it now. What Jesi said is correct, though you may need to play with the line-height a little bit. Link to comment https://forums.phpfreaks.com/topic/227512-fix-line-height/#findComment-1173659 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.