Forum Home
|
Marketplace
|
Articles
|
Blogs
|
Interviews
|
Tools
REGISTER
|
SEARCH
|
MEMBERS
|
F.A.Q.
Register Here
Forum Rules
Webmaster-Talk.com
>
Website Design and Graphics Talk
>
Website Design Forum
>
CSS footer, how to do include so same on every page?
Link Back
Thread Tools
CSS footer, how to do include so same on every page?
07-01-2003, 12:43 PM
#
1
(
permalink
)
CSS footer, how to do include so same on every page?
cgchris99
Average Talker
Posts: 22
Talkupation:
I have a website that is using CSS. I have a footer defined.
I want the footer to be the same on every page. Have the same content.
Is there a way to do some sort of include so I only have to modify one file if I want to change it?
Thanks
When You
Register
, These Ads Go Away!
07-01-2003, 01:42 PM
#
2
(
permalink
)
praveen
Life is a Dream
Latest Blog Post:
The Best Music
Posts: 3,572
Location: in a distant land far away from reality
Talkupation:
you can have it as a js file and use document.write to write it to the pages .
else you can use ssi to include one inc file in all pages.
do u use any server side scripting??
if yes, then it is easy.
__________________
Praveen
Web Tools
-
Smilies
-
Celebs
-
Bookmarks
-
Indian Food
-
Create a Poll
Useful Threads, Tutorials and Resources
Graphics
-
Templates
-
Dreamweaver
-
Javascript
-
SEO
-
Ruby on Rails
-
Ajax Tutorials
-
More Ajax
-
CSS
-
More CSS
07-01-2003, 01:55 PM
#
3
(
permalink
)
Omega
Extreme Talker
Posts: 234
Location: Sharpsville, PA
Talkupation:
Like this...
<?php include("whatever.file") ?>
Put it where you want the file to show.
__________________
-----------------------------------------------
Current Projects:
Texas Silver Rush
|
Back In The Day Sports
Omega Media Design
07-01-2003, 01:56 PM
#
4
(
permalink
)
cgchris99
Average Talker
Posts: 22
Talkupation:
I want to make sure it's crawlable by google. So Javascript it out.
07-01-2003, 01:57 PM
#
5
(
permalink
)
cgchris99
Average Talker
Posts: 22
Talkupation:
The PHP will only work if the file is named phpfile.php ?
Right?
07-01-2003, 02:16 PM
#
6
(
permalink
)
praveen
Life is a Dream
Latest Blog Post:
The Best Music
Posts: 3,572
Location: in a distant land far away from reality
Talkupation:
no.
you can have it as abc.inc
__________________
Praveen
Web Tools
-
Smilies
-
Celebs
-
Bookmarks
-
Indian Food
-
Create a Poll
Useful Threads, Tutorials and Resources
Graphics
-
Templates
-
Dreamweaver
-
Javascript
-
SEO
-
Ruby on Rails
-
Ajax Tutorials
-
More Ajax
-
CSS
-
More CSS
07-01-2003, 02:35 PM
#
7
(
permalink
)
cgchris99
Average Talker
Posts: 22
Talkupation:
So a file that is index.html can have
<?php include("whatever.file") ?>
in it?
I didn't know that would work.
07-01-2003, 03:16 PM
#
8
(
permalink
)
Omega
Extreme Talker
Posts: 234
Location: Sharpsville, PA
Talkupation:
On some servers it will. It worked on my server, but not a recent one I was hosted with...
Test it out.
__________________
-----------------------------------------------
Current Projects:
Texas Silver Rush
|
Back In The Day Sports
Omega Media Design
« Reply to
CSS footer, how to do include so same on every page?
Previous Thread
|
Next Thread
Webmaster-Talk.com
>
Website Design and Graphics Talk
>
Website Design Forum
>
CSS footer, how to do include so same on every page?
Thread Tools
Show Printable Version
Email this Page
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
Trackbacks
are
Off
Pingbacks
are
Off
Refbacks
are
Off
Webmaster Resources Marketplace:
Software Development Company
|
Webhosting.UK.com
Web Templates
|
Text Link Brokers
|
Stock Photos
Feeds:
RSS
JS
XML
Feeds for this forum:
RSS
JS
XML
Mark Forums Read
-
View Forum Leaders
-
Contact Us
-
Webmaster Forum
-
Advertise
-
Archive
-
Privacy Statement
-
Top
Page generated in
0.14070
seconds with
12
queries