Jump to content

include php and css


jonniejoejonson

Recommended Posts

I have a mainPage:

'mainpage.php'

 

The main page references to my css page.

<link rel="stylesheet" type="text/css" href="css/main.css" media="screen"/>

 

within the mainpage.php I include a php called

'includePage.php'

 

includePage.php has div tags in it... however these div tags are not affected by the css? Why is this? and how can I make all div tags from included php pages be affected by the css?

 

regards J.

 

Link to comment
https://forums.phpfreaks.com/topic/96992-include-php-and-css/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.