2009/5/17 Michael <[email protected]>: > > What I want to do is specify CSS style sheet information that is used across > multiple pages in a style.css file, and information that is only used in one > page, within the page itself. > > 1. How can this be done?
<?php .... echo ' <link rel="stylesheet" type="text/css" href="css/style.css" /> <link rel="stylesheet" type="text/css" href="css/'.$_SERVER["SCRIPT_NAME"].'" /> '; ... Note, still including the file as css makes for cleaner code (and when a page is reloaded the HTML can be reloaded without the css having to be reloaded) > > 2. Is this a wise strategy for reducing per request page sizes? I think it is.... > > Michael > > > > Nicolaas --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] -~----------~----~----~----~------~----~------~--~---
