Hi
:rolleyes:
i have a problem
i want to make a dynamic css base on the root
E.g
root a
<link rel="stylesheet" type="text/css" href="a.css" title="OneStyle">
else
<link rel="stylesheet" type="text/css" href="bcss" title="OneStyle">
Hi
:rolleyes:
i have a problem
i want to make a dynamic css base on the root
E.g
root a
<link rel="stylesheet" type="text/css" href="a.css" title="OneStyle">
else
<link rel="stylesheet" type="text/css" href="bcss" title="OneStyle">
I think a Literal control might be what you're looking for.
Replace:
<link rel="stylesheet" type="text/css" href="a.css" title="OneStyle">
With:
<ASP:LITERAL id="litStyleSheet" runat="server"></ASP:LITERAL>
Then you can dynamically set the link tag to whatever you want by setting the Text property of the litStyleSheet control in your code.
Hi
:rolleyes:
i have a problem
i want to make a dynamic css base on the root
E.groot a
<link rel="stylesheet" type="text/css" href="a.css" title="OneStyle">
else
<link rel="stylesheet" type="text/css" href="bcss" title="OneStyle">
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.