Results 1 to 3 of 3

Thread: Changing Style Sheet in the <HEAD> tag

  1. #1

    Thread Starter
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    Changing Style Sheet in the <HEAD> tag

    The code I have got at the moment ls:
    Code:
    <HEAD>
    <title>Entering Site</title>
    	<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
    	<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
    	<meta content="JavaScript" name="vs_defaultClientScript">
    	<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
    	<link rel="StyleSheet" href="aquserv.css" type="text/css">
    </HEAD>
    What I would like is to specify the href at runtime, so instead of hard coding I would like "aquserv.css" to be able to be dynamic and chanegd at runtime...Anyone have any idea?

    Woka

  2. #2
    PowerPoster
    Join Date
    Nov 2001
    Location
    Trying to reach and stay in the cloud
    Posts
    2,089

    Re: Changing Style Sheet in the <HEAD> tag

    crude asp code...but, I guess would work.

    <link rel="StyleSheet" href="
    <%
    'Some code to generate runtime css file
    response.write "finallyIGotThecssToDisplay.css")
    %>
    " type="text/css">

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Changing Style Sheet in the <HEAD> tag


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width