主题常数? [英] Theme Constants?
本文介绍了主题常数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否存在为
主题定义常量(或变量)的事情?例如,存储颜色代码然后在4或5
位置使用它,所以要改变颜色我只需编辑一行?
TIA
Is there such a thing as defining a constant (or a variable) for a
theme? For example, storing a color code and then using it in 4 or 5
places, so to change the color I only have to edit one line?
TIA
推荐答案
它被称为CSS。即使你使用微软的主题引擎,你也可以设置一个样式并在多个地方应用它。颜色只是通过CSS的
选项之一。
-
Gregory A. Beamer
MVP; MCP:+ I,SE,SD,DBA
http://gregorybeamer.spaces。 live.com
合着者:Microsoft Expression Web Bible(即将发布)
************ ************************************
在盒子外面思考!
******************************************* *****
Teresa Church < tl ****** @ gmail.com写信息
news:11 ********************* @ n60g2000hse。 googlegro ups.com ...
It is called CSS. Even if you are using Microsoft''s theming engine, you can
set up a style and apply it in multiple places. Color is just one of the
options through CSS.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
Co-author: Microsoft Expression Web Bible (upcoming)
************************************************
Think outside the box!
************************************************
"Teresa Church" <tl******@gmail.comwrote in message
news:11*********************@n60g2000hse.googlegro ups.com...
是否存在为
主题定义常量(或变量)的事情?例如,存储颜色代码然后在4或5
位置使用它,所以要改变颜色我只需编辑一行?
TIA
Is there such a thing as defining a constant (or a variable) for a
theme? For example, storing a color code and then using it in 4 or 5
places, so to change the color I only have to edit one line?
TIA
当然,但在CSS中你也不能设置常数,至少不能没有
a很多修修补补。因此,如果我想在4个不同的
场所中使用CSS中的相同颜色,我必须在4个不同的地方进行更改。同样的问题。
6月19日上午10点02分,Cowboy \(Gregory A. Beamer \)>
< NoSpamMgbwo ... @ comcast.netNoSpamMwrote:
Sure, but in CSS you can''t set constants either, at least not without
a lot of tinkering. So if I want the same color in CSS in 4 different
places, I have to change it in 4 different places. Same problem.
On Jun 19, 10:02 am, "Cowboy \(Gregory A. Beamer\)"
<NoSpamMgbwo...@comcast.netNoSpamMwrote:
它被称为CSS。即使你使用微软的主题引擎,你也可以设置一个样式并在多个地方应用它。颜色只是通过CSS的
选项之一。
-
Gregory A. Beamer
MVP; MCP:+ I,SE,SD,DBAhttp://gregorybeamer.spaces.live.com
共同作者:Microsoft Expression Web Bible(即将推出)
************************************************
在盒子外面思考!
****************************** ******************特雷莎教堂 < tlchu ... @ gmail.com写信息
新闻:11 ********************* @ n60g2000hse .googlegro ups.com ...
It is called CSS. Even if you are using Microsoft''s theming engine, you can
set up a style and apply it in multiple places. Color is just one of the
options through CSS.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBAhttp://gregorybeamer.spaces.live.com
Co-author: Microsoft Expression Web Bible (upcoming)
************************************************
Think outside the box!
************************************************"T eresa Church" <tlchu...@gmail.comwrote in message
news:11*********************@n60g2000hse.googlegro ups.com...
是否存在为
主题定义常量(或变量)的事情?例如,存储颜色代码然后在4或5
位置使用它,所以要改变颜色我只需编辑一行?
Is there such a thing as defining a constant (or a variable) for a
theme? For example, storing a color code and then using it in 4 or 5
places, so to change the color I only have to edit one line?
TIA
TIA
只是一个想想 - Web.config文件怎么样 - appsettings?
-
David Wier
MVP / ASPInsider > http://aspnet101.com
http://iWritePro.com
Teresa Church < tl ****** @ gmail.com写信息
新闻:11 ********************* @ m36g2000hse。 googlegro ups.com ...
Just a thought - what about the Web.config file - appsettings?
--
David Wier
MVP/ASPInsider
http://aspnet101.com
http://iWritePro.com
"Teresa Church" <tl******@gmail.comwrote in message
news:11*********************@m36g2000hse.googlegro ups.com...
当然,但在CSS中你也不能设置常数,至少不能没有
a lot修补。因此,如果我想在4个不同的
场所中使用CSS中的相同颜色,我必须在4个不同的地方进行更改。同样的问题。
6月19日上午10点02分,Cowboy \(Gregory A. Beamer \)
< NoSpamMgbwo ... @ comcast.netNoSpamMwrote:
Sure, but in CSS you can''t set constants either, at least not without
a lot of tinkering. So if I want the same color in CSS in 4 different
places, I have to change it in 4 different places. Same problem.
On Jun 19, 10:02 am, "Cowboy \(Gregory A. Beamer\)"
<NoSpamMgbwo...@comcast.netNoSpamMwrote:
>它被称为CSS。即使你使用微软的主题引擎,你也可以设置一种风格并在多个地方应用它。颜色只是CSS中的一个选项。
- Gregory A. Beamer
MVP; MCP:+ I,SE,SD,DBAhttp://gregorybeamer.spaces.live.com
共同作者:Microsoft Expression Web Bible(即将发布)
******* **************************************** *
在盒子外面思考!
********************************************** **"特蕾莎教堂
< tlchu ... @ gmail.com写信息
新闻:11 ******************** *@n60g2000hse.googlegr oups.com ...
>It is called CSS. Even if you are using Microsoft''s theming engine, you
can
set up a style and apply it in multiple places. Color is just one of the
options through CSS.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBAhttp://gregorybeamer.spaces.live.com
Co-author: Microsoft Expression Web Bible (upcoming)
*********************************************** *
Think outside the box!
************************************************" Teresa Church"
<tlchu...@gmail.comwrote in message
news:11*********************@n60g2000hse.googlegr oups.com...
是否存在为
$ b $定义常量(或变量)的事情b主题?例如,存储颜色代码然后在4或5
位置使用它,所以要改变颜色我只需编辑一行?
Is there such a thing as defining a constant (or a variable) for a
theme? For example, storing a color code and then using it in 4 or 5
places, so to change the color I only have to edit one line?
TIA
TIA
这篇关于主题常数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文