Rustyhands Posted May 10, 2011 Report Share Posted May 10, 2011 hi everyone im looking to change the height of the text on my content text. im not sure of the code or where to put it??? cheers rusty Quote Link to comment Share on other sites More sharing options...
BeeDev Posted May 10, 2011 Report Share Posted May 10, 2011 CSS properties "line-height" or "font-size" You do know how to write CSS right? I hope that's not what you're asking. Quote Link to comment Share on other sites More sharing options...
grabenair Posted May 10, 2011 Report Share Posted May 10, 2011 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. Quote Link to comment Share on other sites More sharing options...
madhusmita Posted May 27, 2011 Report Share Posted May 27, 2011 <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. Quote Link to comment Share on other sites More sharing options...
Andrea Posted May 27, 2011 Report Share Posted May 27, 2011 <font size="5" face="arial" color="red"> The font tag is deprecated and should not be used. Stick with the CSS method. Quote Link to comment 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.
Note: Your post will require moderator approval before it will be visible.