Connecting Tech Pros Worldwide Help | Site Map

Can't change h4 size

Newbie
 
Join Date: Jul 2008
Posts: 2
#1: Jul 22 '08
I'm new to CSS, so apologies if this is obvious. I'm using the following CSS to create a hanging indent in my pubs container:

#pubs {
padding-top: 5px;
padding-bottom: 5px;
padding-right: 5px;
padding-left: 30px;
border: none;
}
h4 {
font-size: 150%;
text-indent: -25px;
}

Everything works except the size of h4 won't change no matter what I do. I need the heading to be larger. I've tried using h3 or h2 instead, and they won't take the indent for some reason.

Here's the HTML I'm using:

<div id="pubs"><h4><u>Autumn-Winter 2000/01 Issue Now Available</u></h4>
Bunny Lover; Starting a FAR Chapter in Your Community; Companion Animal Rescue
Effort Grows; Animal Husbandry: Time for Divorce; A Few
Preliminary Thoughts on the Nature of Mother-Love; Bodywork Techniques
</div>

Thanks!
drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,562
#2: Jul 23 '08

re: Can't change h4 size


Hm. Works for me.
Try clearing your cache? Or is there more markup to this than what you are showing?
Newbie
 
Join Date: Jul 2008
Posts: 2
#3: Jul 23 '08

re: Can't change h4 size


Hmm. I guess there could be something weird in the rest of the HTML - it's not my code, I'm altering it. Maybe I missed an embedded stylesheet or something, I'll check it out. Thanks.
Reply