By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,724 Members | 1,655 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,724 IT Pros & Developers. It's quick & easy.

Headers in Using CSS

P: n/a
I'm trying to create a style sheet which will allow me to easily
maintain information displayed in the page header which updates with
some frequency. I initially created the header inside of a table to
help me format the images, text and background image. How can I
simulate this table using CSS so that I can make the update in one
location and have it replicate throughout the site? I'm hoping to use
the same logic to manage the information in the footer. Thanks in
advance for your help.

Feb 4 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
ja**********@hotmail.com wrote:
I'm trying to create a style sheet which will allow me to easily
maintain information displayed in the page header which updates with
some frequency. I initially created the header inside of a table to
help me format the images, text and background image. How can I
simulate this table using CSS so that I can make the update in one
location and have it replicate throughout the site?
CSS is all about presentation, so you can (and should) use it instead of a
table to handle the layout of the header.

It isn't about content, so you can't use to include a large chunk of content
on lots of different pages. For that you should look at HTML
Preprocessors / SSI / Server side scripting

http://www.allmyfaqs.net/faq.pl?Incl...ile_in_another
--
David Dorward <http://blog.dorward.me.uk/ <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Feb 4 '07 #2

P: n/a
ja**********@hotmail.com wrote:
I'm trying to create a style sheet which will allow me to easily
maintain information displayed in the page header which updates with
some frequency.
This isn't something CSS is designed for. You want:
http://allmyfaqs.net/faq.pl?Include_one_file_in_another
I initially created the header inside of a table to help me format the
images, text and background image. How can I simulate this table
using CSS so that I can make the update in one location and have it
replicate throughout the site?
Using CSS, you probably do not need a table.
I'm hoping to use the same logic to manage the information in the
footer. Thanks in advance for your help.
Same for footer. Same for recurring menu. Other 'include' files.

--
-bts
-Motorcycles defy gravity; cars just suck
Feb 4 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.