Jump to content

Line height html??


Rustyhands

Recommended Posts

not for sure what you want but I think.

 

 

css

#content{

line-height:5px; (for example)

}

 

html

 

<div id="content">The css will put all text at 5px spacing vertically.</div>

 

There are other ways like setting a paragraph margin in your css, which is what I do.

Hope this helps.

Link to comment
Share on other sites

  • 3 weeks later...

<font size="5" face="arial" color="red">

 

The line of code will help to change the height of the text.The size of the font can be changed according to you need.Otherwise you can use the above method in CSS for doing the same.IN HTML you need to write this code again and again while required. But in CSS you can apply the code any where just by linking.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...