Killersites Community: Line height html?? - Killersites Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Line height html??

#1 User is offline   Rustyhands 

  • PipPipPip
  • View blog
  • Group: Member
  • Posts: 71
  • Joined: 21-April 10
  • LocationAustralia

Posted 10 May 2011 - 05:58 AM

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
0

#2 User is offline   BeeDev 

  • PipPipPipPip
  • View blog
  • Group: Member
  • Posts: 336
  • Joined: 30-April 09

Posted 10 May 2011 - 08:46 AM

CSS properties "line-height" or "font-size"

You do know how to write CSS right? I hope that's not what you're asking.
0

#3 User is offline   grabenair 

  • PipPipPipPip
  • View blog
  • Group: Member
  • Posts: 344
  • Joined: 27-February 11
  • LocationIowa

Posted 10 May 2011 - 03:45 PM

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.
Standards will change. But your website needs to remain in serving its audience.
My Portfolio site
0

#4 User is offline   madhusmita 

  • PipPip
  • View blog
  • Group: Member
  • Posts: 23
  • Joined: 20-May 11

Posted 27 May 2011 - 02:47 AM

<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.
0

#5 User is offline   Andrea 

  • View gallery
  • Group: Moderators
  • Posts: 5,498
  • Joined: 19-December 08
  • LocationSan Antonio, TX

Posted 27 May 2011 - 04:26 AM

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


The font tag is deprecated and should not be used. Stick with the CSS method.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users