日期:2010-03-20  浏览次数:20855 次

先制作2套CSS样式表文件

a.css和b.css

默认为a.css

然后程序代码如下:

以下是ASP源代码:
Dim strStyle
strStyle = Trim(Request.QueryString("style"))
If strStyle<>"b" Then
    strStyle = "a"
End If
<link href="<%=strStyle%>.css" rel="stylesheet" type="text/css" />
<a href="?style=b">切换b.css方案</a>