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] Quote 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 Quote 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. Quote 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%. Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/227512-fix-line-height/#findComment-1173659 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.