在asp.net中,鼓励.css文件使用? [英] In asp.net, .css file is encouraged to use?

查看:80
本文介绍了在asp.net中,鼓励.css文件使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友们,


在我们的ASP应用程序中,我们的.css文件中有很多样式定义。现在,在

asp.net中,鼓励.css继续使用,或者更好地被.net中的新东西替换为
??? >

任何参考文件?


非常感谢。

Hi, friends,

In our ASP app, we have a lot of style definitions in our .css file. Now, in
asp.net, .css is encouraged to continue to use, or is better to be replaced
by something new in .net???

Any reference papers?

Thanks a lot.

推荐答案

非常鼓励使用CSS。


.Net中没有任何内容取代CSS。


Juan T. Llibre,ASP。 NET MVP

ASP.NET常见问题解答: http:// asp。 net.do/faq/

ASPNETFAQ.COM: http ://www.aspnetfaq.com/

Foros de ASP.NET en Espa?ol: http://asp.net.do/foros/

================ ======================

" Andrew" <安**** @ discussions.microsoft.com>在消息中写道

新闻:2E ********************************** @ microsof t.com ...
CSS is quite encouraged to be used.

Nothing in .Net replaces CSS.


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
ASPNETFAQ.COM : http://www.aspnetfaq.com/
Foros de ASP.NET en Espa?ol : http://asp.net.do/foros/
======================================
"Andrew" <An****@discussions.microsoft.com> wrote in message
news:2E**********************************@microsof t.com...
朋友们,

在我们的ASP应用程序中,我们的.css文件中有很多样式定义。现在,在
asp.net中,.css被鼓励继续使用,或者更好地被.net中的新东西替换


任何参考文件?
非常感谢。
Hi, friends,

In our ASP app, we have a lot of style definitions in our .css file. Now, in
asp.net, .css is encouraged to continue to use, or is better to be replaced
by something new in .net???

Any reference papers?
Thanks a lot.



恕我直言,实际上非常好的做法是结合两个,皮肤和

css。关于使用skinning和css的好处之一,无论是否只有一个主题,无论是否
,如果你设置了页面的

,你就会得到WSIWYG。主题,以及IDE中的page.stylesheettheme。更不用说

这个事实你的css会自动进入< head>标签。我实际上已经在我的配置中设置了这两个属性:


< system.web>

< pages theme =" default"样式表里= QUOT;默认" />


.....其他配置文件

< /system.web>


使用配置中的location元素,您还可以更改每个

文件/目录的主题。或者你可以在页面本身中过度主题。


Juan T. Llibre <无*********** @ nowhere.com>写在消息

新闻:%2 **************** @ TK2MSFTNGP14.phx.gbl ...
IMHO it is actually very good practice to combine the two, skinning, and
css. One of the nice things about using skinning and css, regardless of
whether or not if you only have one theme, is that you get WSIWYG if you set
the page.theme, and the page.stylesheettheme in the IDE. Not to mention the
fact that your css will automatically go in the <head> tag. I have actually
set both of these properties in my config as such :

<system.web>
<pages theme="default" styleSheetTheme="default" />

..... other config suff
</system.web>

Using the location element in the config, you can also change the theme per
file / directory. Or you could just over ride the theme in the page itself.

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
CSS是非常鼓励使用。

.Net中没有任何东西可以取代CSS。



Juan T. Llibre,ASP.NET MVP
ASP.NET常见问题解答: http://asp.net.do/faq/
ASPNETFAQ.COM: http://www.aspnetfaq.com/
Foros de ASP.NET en Espa?ol: http://asp.net.do/foros/
======================================
"安德鲁" <安**** @ discussions.microsoft.com>在消息中写道
新闻:2E ********************************** @ microsof t.com。 ..
CSS is quite encouraged to be used.

Nothing in .Net replaces CSS.


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
ASPNETFAQ.COM : http://www.aspnetfaq.com/
Foros de ASP.NET en Espa?ol : http://asp.net.do/foros/
======================================
"Andrew" <An****@discussions.microsoft.com> wrote in message
news:2E**********************************@microsof t.com...
朋友们,

在我们的ASP应用程序中,我们的.css文件中有很多样式定义。现在,
asp.net中,.css被鼓励继续使用,或者更好地被.net中的新东西替换
??? >
任何参考文件?
非常感谢。
Hi, friends,

In our ASP app, we have a lot of style definitions in our .css file. Now,
in
asp.net, .css is encouraged to continue to use, or is better to be
replaced
by something new in .net???

Any reference papers?
Thanks a lot.




是否支持剥皮浏览器?


Juan T. Llibre,ASP.NET MVP

ASP.NET常见问题解答: http://asp.net.do/faq/

ASPNETFAQ.COM: http://www.aspnetfaq.com/

Foros de ASP.NET en Espa?ol : http://asp.net.do/foros/

======================================

Tim Cartwright < TI ************ @ nospam.us-interactive.com>在消息中写道

新闻:eF ************** @ tk2msftngp13.phx.gbl ...
Is skinning supported cross-browser ?

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
ASPNETFAQ.COM : http://www.aspnetfaq.com/
Foros de ASP.NET en Espa?ol : http://asp.net.do/foros/
======================================
"Tim Cartwright" <ti************@nospam.us-interactive.com> wrote in message
news:eF**************@tk2msftngp13.phx.gbl...
恕我直言它实际上非常将两者,皮肤和css结合起来的好习惯。关于使用skinning和css的好处之一,不管你是否只有一个主题,是你在设置page.theme和
时获得WSIWYG IDE中的page.stylesheettheme。更不用说你的CSS会自动进入< head>标签。我实际上在我的
配置中设置了这两个属性:

< system.web>
< pages theme =" default"样式表里= QUOT;默认" />

.....其他配置文件
< /system.web>

使用配置中的location元素,您也可以更改每个文件的主题/
目录。或者你可以在页面本身中过度主题。

Juan T. Llibre <无*********** @ nowhere.com>在消息中写道
新闻:%2 **************** @ TK2MSFTNGP14.phx.gbl ...
IMHO it is actually very good practice to combine the two, skinning, and css. One of the
nice things about using skinning and css, regardless of whether or not if you only have
one theme, is that you get WSIWYG if you set the page.theme, and the
page.stylesheettheme in the IDE. Not to mention the fact that your css will
automatically go in the <head> tag. I have actually set both of these properties in my
config as such :

<system.web>
<pages theme="default" styleSheetTheme="default" />

..... other config suff
</system.web>

Using the location element in the config, you can also change the theme per file /
directory. Or you could just over ride the theme in the page itself.

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
非常鼓励CSS成为使用。

.Net中没有任何内容取代CSS。



ASP.NET MVP的Juan T. Llibre
ASP.NET FAQ: http://asp.net.do/faq/
ASPNETFAQ.COM: http://www.aspnetfaq.com/
Foros de ASP.NET en Espa?ol: http://asp.net.do/foros/
======================================
安德鲁 <安**** @ discussions.microsoft.com>在消息中写道
新闻:2E ********************************** @ microsof t.com。 ..
CSS is quite encouraged to be used.

Nothing in .Net replaces CSS.


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
ASPNETFAQ.COM : http://www.aspnetfaq.com/
Foros de ASP.NET en Espa?ol : http://asp.net.do/foros/
======================================
"Andrew" <An****@discussions.microsoft.com> wrote in message
news:2E**********************************@microsof t.com...
朋友们,

在我们的ASP应用程序中,我们的.css文件中有很多样式定义。现在,在
asp.net中,.css被鼓励继续使用,或者更好地被.net中的新东西替换


任何参考文件?
非常感谢。
Hi, friends,

In our ASP app, we have a lot of style definitions in our .css file. Now, in
asp.net, .css is encouraged to continue to use, or is better to be replaced
by something new in .net???

Any reference papers?
Thanks a lot.





这篇关于在asp.net中,鼓励.css文件使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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