Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 23 Apr 2017, 12:59
elsa23's Avatar
elsa23 elsa23 is offline
 
Join Date: Dec 2014
How to increase distance between lines in the post text

Hi, Im using 4.2.3
Can someone help me to increase distance between lines in the post text please. Thanks
Attached Images
File Type: png ddd.png (21.7 KB, 8 views)
__________________
sorry for my bad english

Last edited by elsa23; 24 Apr 2017 at 23:11.
Reply With Quote
  #2  
Old 23 Apr 2017, 14:30
Dave Dave is offline
 
Join Date: Jun 2010
Add the following to the additional.css template:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You can adjust 20px to your needs.
Reply With Quote
  #3  
Old 23 Apr 2017, 15:13
elsa23's Avatar
elsa23 elsa23 is offline
 
Join Date: Dec 2014
Thanks, Can we separately choose the height of empty line ?
__________________
sorry for my bad english
Reply With Quote
  #4  
Old 23 Apr 2017, 15:20
Dave Dave is offline
 
Join Date: Jun 2010
It is possible but it may not be compatible with all browser and I don't know whether it will mess up any of your styling in posts.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #5  
Old 23 Apr 2017, 17:39
elsa23's Avatar
elsa23 elsa23 is offline
 
Join Date: Dec 2014
Originally Posted by Dave View Post
Add the following to the additional.css template:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You can adjust 20px to your needs.
I tried for "line-height" but with normal size in post, it's ok, when i increase the size in post, the line-height decreases
Attached Images
File Type: png rrt.png (5.2 KB, 0 views)
__________________
sorry for my bad english
Reply With Quote
  #6  
Old 23 Apr 2017, 17:42
elsa23's Avatar
elsa23 elsa23 is offline
 
Join Date: Dec 2014
Originally Posted by Dave View Post
It is possible but it may not be compatible with all browser and I don't know whether it will mess up any of your styling in posts.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Now, with this add, I had this result
Attached Images
File Type: png rtt.png (5.3 KB, 1 views)
__________________
sorry for my bad english
Reply With Quote
  #7  
Old 23 Apr 2017, 17:45
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Try Using units of "em" instead of "px" for the "margin-top" attribute. For example:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #8  
Old 23 Apr 2017, 17:51
elsa23's Avatar
elsa23 elsa23 is offline
 
Join Date: Dec 2014
Originally Posted by MarkFL View Post
Try Using units of "em" instead of "px" for the "margin-top" attribute. For example:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Result for :

dsf dsg f
df gdf gdfg
df gdf gdg


dsf dsg f
df gdf gdfg
df gdf gdg



I used:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Attached Images
File Type: png rrrrr.png (5.4 KB, 0 views)
__________________
sorry for my bad english
Reply With Quote
  #9  
Old 23 Apr 2017, 18:01
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Try using only the selector:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Adjust the number "1.5" to your liking.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #10  
Old 23 Apr 2017, 21:06
elsa23's Avatar
elsa23 elsa23 is offline
 
Join Date: Dec 2014
Originally Posted by MarkFL View Post
Try using only the selector:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Adjust the number "1.5" to your liking.
thank you
__________________
sorry for my bad english
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 13:22.

Layout Options | Width: Wide Color: