I have index.php which 开发者_StackOverflow社区uses its own style.css.
I'm including helloworld.php which uses style2.css and JavaScript (it's an image gallery).
When I include helloworld.php on index.php, style2.css gets completely ignored and seemingly not loaded at all. And when I copy the contents of style2.css into style.css, I get the same results - nothing from the included file gets styled properly.
I'm a little bit new at this - is this even possible?
Are you including the link to the other style sheet in your headers on idex.php? Try this.
examples (place inside open / closing tags)
<link rel="stylesheet" type="text/css" href="path/to/style1.css">
<link rel="stylesheet" type="text/css" href="path/to/style2.css">
精彩评论