Ok, I was doing this website. Its mostly powered by PHP. I have a header.php and footer.php file that will be included, to get a more cleaner working area. Problem is, my main page (home page) uses a main.css file. And the news page has many similar features so it also uses the main.css file but some specific settings are overridden by a news.css file. When it was all HTML it was easy for me to make it work (just call main.css first and then call news.css). But now since the stylesheet calls are in a common header file, I am getting some unexpected and unwanted CSS effects on my home page.
Is there any way, some kinda if statement, in PHP that I could use to tell my browser to load the news.css file only when news.php is loaded?
Thanks!!!