Forums
This topic is locked
CSS, templates and confusion
Posted 09 Feb 2006 01:20:04
1
has voted
09 Feb 2006 01:20:04 Ron Husges posted:
Hello,I've been using Dreamweaver for about 5 years now. I've just begun to start using some more advanced features like Templates and CSS. I have a site that needs to have a left hand navigation. The color of this nav bar is supposed to change color as well as the text links for each section when you click on it. I have 2 template pages (one for the homepage and the other for every other page). The links on the nav bar are regular HTML text with CSS styles for the different button states. In order for the pages to have the different nav background color, do I need to a separate CSS file for each page, or can I use one CSS for everything? I was searching earlier for help and got into Expressions and Parameters. Is this something I need as well...me so confused!!
Thanks in advance for your help.
Replies
Replied 10 Feb 2006 07:27:49
10 Feb 2006 07:27:49 Javier Castro replied:
there are various ways to do it. One is to have your all your nav CSS on one page or one for each one that you need. I rather us one page but divide the page in sections sepparated by comments. Something like this:
//************* nav 1***********//
#nav1 {
font-family: .....;
color:white;
backgroung:
}
//************* nav 2***********//
#nav2{
}
Google for CSS tutorials, there are tons of resources out there.
Cheers,
Javier
//************* nav 1***********//
#nav1 {
font-family: .....;
color:white;
backgroung:
}
//************* nav 2***********//
#nav2{
}
Google for CSS tutorials, there are tons of resources out there.
Cheers,
Javier