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:21 am     help with a header  

I need for the header to allow to display a second line.

/**
* --------------------------------------------------------
* @section header
* --------------------------------------------------------
*/
.sf_header_wrapper {
padding-top: 35px;
}

.sf_header_wrapper:after {
content: " ";
display: block;
clear: both;
visibility: hidden;
font-height: 1px;
margin:0px;
padding:0px;
}

.sf_extra2 {
}

.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;
}

.sf_main_header div { height:1.2em;line-height:1.5; overflow: hidden; } /* height: 32px; */
.sf_main_header div div { height: auto; overflow: visible; }

.sf_extra3 {
}
PayneLess Designs



Joined: 28 Feb 2007
Posts: 4289
Location: MS

Posted: Mon Oct 05, 2009 5:15 am      

Your request is not very clear. You have one CSS styled to hide contents. What second line and what do you consider as your header? Headers can be text, images, text and images or images with text on them.

Do you have a link to page online? Once you give sufficient information, maybe we can help.
bruno



Joined: 05 Oct 2009
Posts: 4

Posted: Mon Oct 05, 2009 6:09 am     Text Header  

My header is just a two lines text.
The way is written now, if I type a second line, it will not be displayed.
How do I change the code?

I have no knowledge of CSS, HTML.
bruno



Joined: 05 Oct 2009
Posts: 4

Posted: Mon Oct 05, 2009 6:46 am     Header Headache resolved  

I changed the code as follows:

/**
* --------------------------------------------------------
* @section header
* --------------------------------------------------------
*/
.sf_header_wrapper {
padding-top: 35px;
}

.sf_header_wrapper:after {
content: " ";
display: block;
clear: both;
visibility: hidden;
font-height: 1px;
margin:0px;
padding:0px;
}

.sf_extra2 {
}

.sf_main_header {
width: 617px;
height: auto;
font-family: "Century Gothic", "Lucida Sans Unicode", Arial, sans-serif;
font-size: 30px;
text-transform: uppercase;
overflow: auto;
}

.sf_main_header div { height:auto;line-height:auto; overflow: auto; } /* height: auto; */
.sf_main_header div div { height: auto; overflow: visible; }

.sf_extra3 {
}
PayneLess Designs



Joined: 28 Feb 2007
Posts: 4289
Location: MS

Posted: Mon Oct 05, 2009 9:13 am      

You're still giving nothing to work with but CSS. Can't help you with just that. See my previous post about details.
 
 
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