- Arts & Humanities
- Beauty & Style
- Business & Finance
- Cars & Transportation
- Computers & Internet
- Consumer Electronics
- Dining Out
- Education & Reference
- Entertainment & Music
- Environment
- Family & Relationships
- Food & Drink
- Games & Recreation
- Health
- Home & Garden
- Local Businesses
- News & Events
- Pets
- Politics & Government
- Pregnancy & Parenting
- Science & Mathematics
- Social Science
- Society & Culture
- Sports
- Travel
anything you want in the main content area of the web page
anything that is to be included at the bottom of the page
2007-12-10 00:52:58 · answer #1 · answered by SHAUN D 2 · 0⤊ 0⤋
A style sheet only will change the style of existing elements on the page, it can't generate data or dynamic content. If you want to have a menu or header on every page and only have to make changes to one file instead of the entire page, you are going to need to use PHP Includes or Cold fusion or whatever else your comfortable with. You can then apply your stylesheet to the pages you create for the header foorter and menu. This site has more explanation if needed.http://www.stevedawson.com/article0012.php
Good Luck
2007-12-08 07:07:40 · answer #2 · answered by Larry B 5 · 0⤊ 0⤋
This isn't a job for the stylesheet. CSS just handles formatting. If you want some text and HTML to appear on every page, you will need some sort of server-side include. This means you have the standard header stuff in a separate file, and just add at the top of every page.
(Note this will only work when your pages are on the server, it won't work if you're just previewing your pages from your own machine).
2007-12-08 20:35:46 · answer #3 · answered by Daniel R 6 · 1⤊ 0⤋
As previously stated. You can't do this in your style script. An alternative to #include would be to write your common header into a javascript script and include that at the top of your page
...
The .js file would contain
document.write("");
document.write("
Some standard text");
This will work when previewing on your own machine.
2007-12-09 18:38:42 · answer #4 · answered by JA12 7 · 0⤊ 0⤋
I would say if you created this in Adobe Dreamweaver, then go ahead and create this page as a template, then creating the rest of your website using the template. I hope this helps! =]
2016-05-22 04:46:09 · answer #5 · answered by ? 3 · 0⤊ 0⤋