Hello,
This sounds pretty simple and straight:
I have a generic page_header file: header.ascx which is a common header across the web site.
Would now prefer to have the style sheets in this header so that I can refernce them all over. The traditional html link tag in the header.ascx does not show up the href at all:
Here is my header.ascx
<link id="styles1" rel="stylesheet" type="text/css" href="styles.css" />
Any styling from the above is not applied at all!.
I do not get any error also.
I tried setting the href on Page_load of the header.ascx.
If I view source HTML generated on the aspx, I see the following for the link:
<link id="Header_styles1" rel="stylesheet" type="text/css"></link>
The href is totally lost !.
what am I missing.
I am using .NET 1.1 on VS 2003.
This sounds pretty simple and straight:
I have a generic page_header file: header.ascx which is a common header across the web site.
Would now prefer to have the style sheets in this header so that I can refernce them all over. The traditional html link tag in the header.ascx does not show up the href at all:
Here is my header.ascx
<link id="styles1" rel="stylesheet" type="text/css" href="styles.css" />
Any styling from the above is not applied at all!.
I do not get any error also.
I tried setting the href on Page_load of the header.ascx.
If I view source HTML generated on the aspx, I see the following for the link:
<link id="Header_styles1" rel="stylesheet" type="text/css"></link>
The href is totally lost !.
what am I missing.
I am using .NET 1.1 on VS 2003.