Thor
Honorary Master
- Joined
- Jun 5, 2014
- Messages
- 44,236
Right, in true mybb fashion my heading is as misleading as it gets. Lets continue.
You know how you should always use a single CSS file instead of six ( that's why Sass is such a appealing thing to get into get sassy! ) Since if you have stylesheet1, stylesheet2, stylesheet3, stylesheet4, stylesheet5, stylesheet6 then you will have six trips to the server slows everything down etc etc right?
Now, I use php like so:
index.php
inside I use includes example:
footer.php
sidebar.php
header/menu.php
Now my question is, does this includes have the same effect as the CSS or is this not the case due to php living on the server and css living in the browser?
You know how you should always use a single CSS file instead of six ( that's why Sass is such a appealing thing to get into get sassy! ) Since if you have stylesheet1, stylesheet2, stylesheet3, stylesheet4, stylesheet5, stylesheet6 then you will have six trips to the server slows everything down etc etc right?
Now, I use php like so:
index.php
inside I use includes example:
footer.php
sidebar.php
header/menu.php
Now my question is, does this includes have the same effect as the CSS or is this not the case due to php living on the server and css living in the browser?

