March 12th, 2004, 12:26 PM
Originally Posted by jarow
I have a header.inc and a css style sheet that are called to each page of a website via php. In the style sheet there are two styles that I would like to change depending on the section of the website.
in the style sheet
css id "subnav" has background: #E8EDF5 and
cssi id "subtitle" has background #E8EDF5
however in each major section of the website I would like to change the background colors of the divs that have id "subnav" and "subtitle".
Is there type of php statement that I could place at the top of my website pages that would allow me to specify the colors of these two css ids?
Hope I have made this clear.
besides using Kimppa's method, u can also try 2 override the div tag style using style
set the style
attributes with the desired colour using php script...
Last edited by tvc3mye : March 12th, 2004 at 12:29 PM.