Bolch
01-12-2005, 13:15
Probably not the best title, but hopefully can explain better here.
Working on a site and thinking of using This (http://www.oswd.org/design/preview/id/2429) design. However on some pages I want the right hand side bar and others I don't. So as it's fixed width I'd need to change the width of the centre div based on wether the right column would be there or not.
Question is do I have 2 style sheets (1 that removes the side bar and widens the centre div when needed) and just use php to determine which style sheet to load. OR Can I set up a variable within the PHP script when I don't want the side bar and it edits the style sheet accordingly?
Working on a site and thinking of using This (http://www.oswd.org/design/preview/id/2429) design. However on some pages I want the right hand side bar and others I don't. So as it's fixed width I'd need to change the width of the centre div based on wether the right column would be there or not.
Question is do I have 2 style sheets (1 that removes the side bar and widens the centre div when needed) and just use php to determine which style sheet to load. OR Can I set up a variable within the PHP script when I don't want the side bar and it edits the style sheet accordingly?