View Full Version : css
11-22-2008, 11:10 AM
we will create style sheets using style definitions and attributes. is it possible to create a style sheet which can intake tags (like body, table, div ), so that it might be helpful to design the layout of the website which has to be the same for all the pages?
11-22-2008, 11:17 AM
I'm not sure, but are you asking about external style sheets (http://www.w3.org/TR/REC-html40/present/styles.html#h-14.3)?
11-23-2008, 11:21 PM
As mentioned, use of an external style sheet will set your layout for every page if you use a template that uses the same selector names on the style sheet except for those pages which may require individual styles in some places.
For parts of your pages which are on every page and may require editing from time to time like, additions/deletions to nav menu or ad columns, etc., you might want to look into using PHP includes (http://httpd.apache.org/docs/1.3/howto/ssi.html).
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.