I'm still getting used to css and I can change the line-height of my content area on my blog here: www.wowpvpcheats.info I know this code here can change the line height of the content /* ---------- @ content Area -----------*/ /*Home*/ .padding{ padding:10px; } .content { font-size:14px; line-height:20px; margin-right:10px; margin-top:100px; position: relative; top:-80px; color:#000000; } But I am trying to just change the line-height of each post title and not the whole content section. I hope this makes sense. Thanks much. Travis
With h1 top and bottom margin ------------------------------ div, h1, h2, p, form, label, input, textarea, img, span{ margin:0; padding:0; } /* zero padding and margin of properties */ #content h1,h2{ font-size:14px; font-family:Arial, Helvetica, sans-serif; margin:10px 0 12px ; /* Create 10px top margin and 12px bottom margin your Title */ } -------------------- then .... <div id="content"> <h1>Your Title here</h1> </div>
Uhm, actually, changing h1 would mess up your blog header title. You need to only change h2. Also, creating line height with a margin is not the best way to do it. Try this: Or just do this: [CODE].content h2 a, .content h2 a:visited { font-size: 1.5em; margin:0px; padding:0px; color:#003E7D; [COLOR="Red"]line-height:##px;[/COLOR] } Code (markup): [/CODE]