如何在一个页面中使用不同的css文件。

问题描述:

你好


我有一个问题,如何在一个页面中使用不同的CSS文件。

在该页面中如何使用下拉菜单传递链接并选择css文件的链接,它将改变整页的颜色。



Plz ................. .........

尽快回复我。


谢谢

hello

I have a problem that how to use different css files in one single page.
In that page how to pass link using dropdown menu and select link for css file and it will change the color of whole page.


Plz..........................
Reply me as soon as possible.

Thanks

设置页面的样式表,其ID为:

[HTML]< link rel =" stylesheet" HREF =&QUOT; col.css&QUOT;类型= QUOT;文本/ CSS&QUOT; ID = QUOT; SS&QUOT; /> [/ HTML]然后在选择新文件时,将href设置为新文件:
Set the stylesheet for the page with an id:
[HTML]<link rel="stylesheet" href="col.css" type="text/css" id="ss" />[/HTML] then when a new file is chosen, set the href to the new file:
展开 | 选择 | Wrap | 行号



为具有id的页面设置样式表:

[HTML]< link rel =" stylesheet" HREF =&QUOT; col.css&QUOT;类型= QUOT;文本/ CSS&QUOT; ID = QUOT; SS&QUOT; /> [/ HTML]然后在选择新文件时,将href设置为新文件:
Set the stylesheet for the page with an id:
[HTML]<link rel="stylesheet" href="col.css" type="text/css" id="ss" />[/HTML] then when a new file is chosen, set the href to the new file:
展开 | 选择 | Wrap | 行号


在您的css文件中,将页面上所有对象的颜色设置为您需要的颜色。
In your css files, set the colours of all the objects on the page to whatever you require.