不再回头 .net学习日记&资料

我再也不愿听你要求 我受够了你那些自私要求

  IT博客 :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  39 随笔 :: 2 文章 :: 14 评论 :: 0 Trackbacks


  <head>
  <link id="MyStyleSheet" rel="stylesheet" type="text/css" runat="server" />
  </head>

  之后,在要更换CSS的页面中,使用如下代码


  Sub Page_Load(Sender As Object, E As EventArgs)
  If Not (IsPostBack)
  MyStyleSheet.Attributes.Add("href","/css/flostyle.css")
  End If

posted on 2006-04-07 00:35 不再回头 阅读(176) 评论(0)  编辑 收藏 引用 所属分类: .net学习资料&日志
只有注册用户登录后才能发表评论。