HTML Help Forum HTML Help
Please Search for the answer to your question before asking it! Thanks.
 

help with a header
Post a Reply to this Topic Ask a New Question
Click here to go to the original topic
       HTML Help Forum -> CSS
View previous topic :: View next topic  
Author Message
bruno



Joined: 05 Oct 2009
Posts: 4

Posted: Mon Oct 05, 2009 4:12 am     help with a header  

I am doing some volunteer work for my daughter's school.
I am helping in creating a website for PTO (Parent Teacher Organization).
I am using a template which I need to modify so when I type a second line in the header it will show.

.sf_main_header {
width: 617px;
height: 1.2em; /* 36px; */
font-family: "Century Gothic", "Lucida Sans Unicode", Arial, sans-serif;
font-size: 30px;
text-transform: uppercase;
overflow: hidden;


Your help will be greatly appreciated.
Thanks. :idea:
sticks464



Joined: 31 Dec 2006
Posts: 2629

Posted: Mon Oct 05, 2009 4:31 am      

The code you posted goes on the stylesheet or in the head section between style tags.

When you make the html entry assign the class to the tag whether it be a <p>, H2 etc.
Code: <p class=".sf_main_header">blah...blah</p>

**note: 1.2em = 1.2 X base font-size (usually styled in body rule)

base font-size=14px
1.2 X 14px = 16.8px
So your container height is not large enough.

Rule of thumb: do not set a height.

Post your template code so we can see exactly what your trying to do.
 
 
DARFUR
HOSTING / DESIGN
MAKE MONEY

       HTML Help Forum -> CSS
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group