HighDots Forums  

Newbie Question: Can CSS be used to repeat content ~ header/footer?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Newbie Question: Can CSS be used to repeat content ~ header/footer? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default Newbie Question: Can CSS be used to repeat content ~ header/footer? - 04-05-2004 , 09:15 AM






Hello and thanks for taking the time to read my message. I am
attempting to redesign a website which is currently written in HTML.
I am starting to brief myself on CSS. I was wondering if it was
possible to create a header/footer like section of the CSS that would
repeat content on each page? Example, which I am sure alot of people
go through - Logos. I have a logo that I would like to appear on each
page as well as two logos that appear along the bottom with a brief
text statement. From what I can remember this could be accomplished
with frames, but I would greatly like to avoid them.

Any suggestions would be greatly appreciated!

Thanks,
Mike

Reply With Quote
  #2  
Old   
PeterMcC
 
Posts: n/a

Default Re: Newbie Question: Can CSS be used to repeat content ~ header/footer? - 04-05-2004 , 09:50 AM






Michael Elliott wrote in
<a526b6e5.0404050515.717c4738 (AT) posting (DOT) google.com>

Quote:
Hello and thanks for taking the time to read my message. I am
attempting to redesign a website which is currently written in HTML.
I am starting to brief myself on CSS. I was wondering if it was
possible to create a header/footer like section of the CSS that would
repeat content on each page? Example, which I am sure alot of people
go through - Logos. I have a logo that I would like to appear on each
page as well as two logos that appear along the bottom with a brief
text statement. From what I can remember this could be accomplished
with frames, but I would greatly like to avoid them.

Any suggestions would be greatly appreciated!
I'd use SSI - dead easy.

http://bignosebird.com/sdocs/include.shtml

--
PeterMcC
If you feel that any of the above is incorrect,
inappropriate or offensive in any way,
please ignore it and accept my apologies.


Reply With Quote
  #3  
Old   
Rob McAninch
 
Posts: n/a

Default Re: Newbie Question: Can CSS be used to repeat content ~ header/footer? - 04-05-2004 , 10:46 AM



PeterMcC <news:dtdcc.27540$h44.3801447 (AT) stones (DOT) force9.net>:

Quote:
Michael Elliott wrote in
a526b6e5.0404050515.717c4738 (AT) po...OT) google.com

I was wondering if it was possible to create a header/footer
like section of the CSS that would repeat content on each
page?
I'd use SSI - dead easy.
http://bignosebird.com/sdocs/include.shtml
SSI is certainly an option, or you can preprocess the files in
some manner. If the header/footer remain relatively static then
proprocessing is probably the better option. However, if stuff is
updated within the header and footer then SSI can update this on
each request.

Search Google for preprocessing or something similar. I usually
hack out some Perl.

Perhaps just a text editor with global regex search and replace.
E.g. Note Tab.

--
Rob - http://rock13.com/
Web Stuff: http://rock13.com/webhelp/


Reply With Quote
  #4  
Old   
Colin McGarry
 
Posts: n/a

Default Re: Newbie Question: Can CSS be used to repeat content ~ header/footer? - 04-06-2004 , 12:29 PM




"Michael Elliott" <mdelliott76 (AT) netscape (DOT) net> a écrit dans le message de
news: a526b6e5.0404050515.717c4738 (AT) po...OT) google.com...
Quote:
Hello and thanks for taking the time to read my message. I am
attempting to redesign a website which is currently written in HTML.
I am starting to brief myself on CSS. I was wondering if it was
possible to create a header/footer like section of the CSS that would
repeat content on each page? Example, which I am sure alot of people
go through - Logos. I have a logo that I would like to appear on each
page as well as two logos that appear along the bottom with a brief
text statement. From what I can remember this could be accomplished
with frames, but I would greatly like to avoid them.

Any suggestions would be greatly appreciated!
I've made a page in css replacing frames at www.cpmac.com/napier
It needs some php to change the content of the div. It could be done using
javascript.

Quote:
Thanks,
Mike



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.