帮助在所有页面上放置标准标题 [英] Help putting standard headers on all pages

查看:52
本文介绍了帮助在所有页面上放置标准标题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我几个星期以来一直在寻找参考资料,但是没有找到

以下问题的答案。我会喜欢这方面的帮助:


*没有*使用JavaScript或其他活动的客户端脚本,

服务器端包含或框架,有没有办法在网站的所有页面上包含标准的

标头?设计目标是将每个页面上的

标题链接和标题图形保存在单个

的位置,这样就不需要更改标题数据更改

网站上的每个html文件。 (有问题的网站是我的

个人网站 - 见签名)。


换句话说,我想要一种方法来定期(非框架)非

仅限活动HTML和CSS。似乎应该有一种方法用CSS做它的b $ b,但是我真的不能解决它。


感谢你的指点...


-

Lewin ARW Edwards

项目 - http://www.zws.com/

个人 - http://www.larwe.com/

解决方案

文章

< 1e ********* ******** @ d45g2000hsc。 googlegroups.com>,
zw*******@gmail.com 写道:


*没有*使用JavaScript或其他活动的客户端脚本,

服务器端包含或框架,是否有办法包含标准

网站内所有页面的标题?

换句话说,我想要一种方法来做常规(非框架)非

仅限活动HTML和CSS。似乎应该有一种方法用CSS来做它的b $ b,但是我真的无法解决它。



为什么你认为在CSS中应该有办法呢? CSS是

关于制作漂亮的东西,不提供内容。


-

dorayme


9月20日,9:22 * pm,dorayme< doraymeRidT ... @ optusnet.com.auwrote:


换句话说,我想要一种方法在常规(非框架)非
活动HTML和CSS中执行此操作。似乎应该有一种方法用CSS来做它的b $ b,但是我真的无法解决它。



为什么你认为在CSS中应该有办法做到这一点?关于制作漂亮而不提供内容的CSS是




也许主要是因为我不是CSS专家 - 如果你看看我的网站

你会看到他们是90 %text(= content)和* very * little sugar。它在我看来应该有办法做到这一点。但我很高兴

接受CSS没有回答 - 你有什么建议吗?


我不想使用活动脚本,因为我个人倾向于运行

并禁用它。我一定不会使用Java或插件废话

就像Flash一样!

我不想使用框架因为历史上它们已经引起了我

内容未被搜索引擎正确索引的问题。

我不想使用SSI,因为它们严重影响了我的提供商的性能。 br />

这似乎没有留下太多其他技术方面的东西。如果我必须选择一个单一的邪恶,我猜它会是帧。我想

听说过另一种选择。


zw ******* @ gmail.com 写道:


9月20日,9: 22?* pm,dorayme< doraymeRidT ... @ optusnet.com.auwrote:


换句话说,我想要一个在常规(非框架)非
活动HTML和CSS中执行此操作的方法。似乎应该有一种方法用CSS来做它的b $ b,但是我真的无法解决它。


为什么你认为在CSS中应该有办法呢? CSS是关于制作漂亮的东西,而不是提供内容。



也许主要是因为我不是CSS专家 - 如果你看看我的网站

你会看到他们是90 %text(= content)和* very * little sugar。它在我看来应该有办法做到这一点。但我很高兴

接受CSS没有回答 - 你有什么建议吗?


我不想使用活动脚本,因为我个人倾向于运行

并禁用它。我一定不会使用Java或插件废话

就像Flash一样!

我不想使用框架因为历史上它们已经引起了我

内容未被搜索引擎正确索引的问题。

我不想使用SSI,因为它们严重影响了我的提供商的性能。



这很奇怪。


这似乎没有留下太多其他内容技术方式。如果我必须选择一个单一的邪恶,我猜它会是帧。我想听听b $ b听到另一种选择。



制作

网站时,通常的方法包括某种构建步骤。从WYSIWYG网站编辑

软件到使用宏处理器和make之类的东西都有很多选项。


如果你不知道这些是什么最后两个是,那么他们可能不适合你。他们可能有一天,但还有更多要了解

方式。不幸的是,我对前者了解不多。你可能会得到

给别人的一些实际建议...


-

Ben。


I''ve been looking for references for some weeks now, but haven''t found
an answer to the following question. I''d love some help on this:

*Without* using JavaScript or other active client-side scripting,
server-side includes or frames, is there a way to include a standard
header on all pages within a site? The design goal is to have the
header links and title graphic on every page kept in some single
place, so that a change to the header data doesn''t require changing
every single html file on the site. (The sites in question are my
personal sites - see signature).

In other words, I want a way to do this in regular (non-framed) non-
active HTML and CSS only. It seems like there ought to be a way to do
it with CSS, but I really can''t work it out.

Thanks for any pointers...

--
Lewin A.R.W. Edwards
Projects - http://www.zws.com/
Personal - http://www.larwe.com/

解决方案

In article
<1e**********************************@d45g2000hsc. googlegroups.com>,
zw*******@gmail.com wrote:

*Without* using JavaScript or other active client-side scripting,
server-side includes or frames, is there a way to include a standard
header on all pages within a site?
In other words, I want a way to do this in regular (non-framed) non-
active HTML and CSS only. It seems like there ought to be a way to do
it with CSS, but I really can''t work it out.

Why would you think there ought to be a way to do it in CSS? CSS is
about making things pretty, not supplying content.

--
dorayme


On Sep 20, 9:22*pm, dorayme <doraymeRidT...@optusnet.com.auwrote:

In other words, I want a way to do this in regular (non-framed) non-
active HTML and CSS only. It seems like there ought to be a way to do
it with CSS, but I really can''t work it out.


Why would you think there ought to be a way to do it in CSS? CSS is
about making things pretty, not supplying content.

Perhaps mainly because I''m not a CSS expert - if you look at my sites
you''ll see they are 90% text (=content) and *very* little sugar. It
just seemed to me that there should be a way to do it. But I''m happy
to accept that CSS doesn''t contain an answer - do you have a
suggestion for something that does?

I don''t want to use active scripting because I personally tend to run
with it disabled. And I CERTAINLY won''t use Java or plugin nonsense
like Flash!
I don''t want to use frames because historically they have caused me
problems with content not being indexed properly by search engines.
I don''t want to use SSIs because they severely impact performance on
my provider.

That didn''t seem to leave much else in the way of technologies. If I
have to choose a single evil I guess it would be frames. I''d like to
hear of an alternative though.


zw*******@gmail.com writes:

On Sep 20, 9:22?*pm, dorayme <doraymeRidT...@optusnet.com.auwrote:

In other words, I want a way to do this in regular (non-framed) non-
active HTML and CSS only. It seems like there ought to be a way to do
it with CSS, but I really can''t work it out.


Why would you think there ought to be a way to do it in CSS? CSS is
about making things pretty, not supplying content.


Perhaps mainly because I''m not a CSS expert - if you look at my sites
you''ll see they are 90% text (=content) and *very* little sugar. It
just seemed to me that there should be a way to do it. But I''m happy
to accept that CSS doesn''t contain an answer - do you have a
suggestion for something that does?

I don''t want to use active scripting because I personally tend to run
with it disabled. And I CERTAINLY won''t use Java or plugin nonsense
like Flash!
I don''t want to use frames because historically they have caused me
problems with content not being indexed properly by search engines.
I don''t want to use SSIs because they severely impact performance on
my provider.

That''s odd.

That didn''t seem to leave much else in the way of technologies. If I
have to choose a single evil I guess it would be frames. I''d like to
hear of an alternative though.

The usual method it to include some sort of build step when making the
site. There are literally dozens of options from WYSIWYG site editing
software to using a macro processor and something like make.

If you don''t know what these last two are, then they are probably not
right for you. They may be one day, but there is more to learn that
way. Unfortunately I don''t know much about the former. You may get
some actual recommendations for others...

--
Ben.


这篇关于帮助在所有页面上放置标准标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆