You should have a look at both. If you compare the properties of the CSS and the content of conf.template_default.inc.php, you will see that you can either define everything at just one place or mix it up.
The most standard (W3C, of which I am a big fan

) compliant way would be to define everything in the CSS. I think, the easiest way is to give you an example/template for a CSS-based definition which you can modify afterwards
conf.template_default.inc.php
Code: Select all
// navigation table defaults
$template_default["nav_table_struct"]["table_border"] = "0";
$template_default["nav_table_struct"]["table_width"] = "100%";
$template_default["nav_table_struct"]["table_height"] = "";
$template_default["nav_table_struct"]["table_bgcolor"] = "";
$template_default["nav_table_struct"]["table_bgimage"] = "";
$template_default["nav_table_struct"]["table_class"] = "";
$template_default["nav_table_struct"]["table_cspace"] = "0";
$template_default["nav_table_struct"]["table_cpad"] = "0";
//
$template_default["nav_table_struct"]["space_width"] = 10;
$template_default["nav_table_struct"]["space_left"] = 7;
$template_default["nav_table_struct"]["space_right"] = 10;
$template_default["nav_table_struct"]["space_celltop"] = 2;
$template_default["nav_table_struct"]["space_cellbottom"] = 2;
//
$template_default["nav_table_struct"]["cell_width"] = "100%";
$template_default["nav_table_struct"]["cell_height"] = "15";
$template_default["nav_table_struct"]["cell_bgcolor"] = "";
$template_default["nav_table_struct"]["cell_bgimage"] = "";
$template_default["nav_table_struct"]["cell_class"] = "nav_table";
//
$template_default["nav_table_struct"]["cell_active_width"] = "100%";
$template_default["nav_table_struct"]["cell_active_height"] = "15";
$template_default["nav_table_struct"]["cell_active_bgcolor"] = "";
$template_default["nav_table_struct"]["cell_active_bgimage"] = "";
$template_default["nav_table_struct"]["cell_active_class"] = "nav_table_active";
As you can see, there are no color definitions at all. The most interesting parts are the "cell_" and "cell_active_" properties that define the menu items when you hover or don't hover over them.
Both have different CSS properties assigned: "nav_table" for the inactive cells and "nav_table_active" for the active cells.
Now go into your CSS-file and search the parts that begin with ".nav_table" and ".nav_table_active"
This could look like the following:
Code: Select all
.nav_table, .nav_table a, .nav_table a:link, .nav_table a:active, .nav_table a:visited, .nav_table a:hover {
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 10px;
color: #4A5966;
font-weight: normal;
text-decoration: none;
}
.nav_table_active, .nav_table_active a, .nav_table_active a:link, .nav_table_active a:active, .nav_table_active a:visited, .nav_table_active a:hover {
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 10px;
color: #4A5966;
font-weight: bold;
text-decoration: none;
}
In these parts you can define everything you want. Interesting properties shoud be "background-color" and "color". But you can assign multiple properties. For example "font-weight: bold", if you want the text to be displayed as... guess it? ...
bold text.
PS: To be honest. In conf.template_defaults.inc.php I should not have defined the cell_height and I should have done this in the CSS, if I was consequent. But I am not, and lazy as well. And in addition to that, some browsers still have problems with CSS and tables, so I will keep it as it is.
PPS: To be sure, you can also define everything in the inc.php
and the CSS. But only if you use exactly the same values, and although
I don't like the idea and it is
not standards compliant (did I manteion that I am a biiig fan... ?

). But so you can be sure that even browsers that don't like CSS too much (AFAIK Konqueror supports only CSS1) will display your pages correctly.