T
tjonsek
I am familar with using style sheets in plain old HTML or ASP pages. I
thought I'd attempt the same in an asp.net app. I am finding something
wierd however.
I use this line in the <head> tag of the webform:
<LINK href="Styles.css" type="text/css" rel="stylesheet" runat="server"
/>
However, studio.net keeps taking the closing /> out of the line. The
style sheet works fine if I make sure the end '/' is there before
running the app. However, if I don't, then I get a message that the app
is looking for '</link>'. I tried entering that in as well, but I get a
message within the code saying that a closing </link> is not necessary.
So - I find myself manually typing in the closing slash each time I
test the app.
Am I missing something? Anybody successfully apply a style sheet to an
asp.net app and can give me pointers?
Thanks
thought I'd attempt the same in an asp.net app. I am finding something
wierd however.
I use this line in the <head> tag of the webform:
<LINK href="Styles.css" type="text/css" rel="stylesheet" runat="server"
/>
However, studio.net keeps taking the closing /> out of the line. The
style sheet works fine if I make sure the end '/' is there before
running the app. However, if I don't, then I get a message that the app
is looking for '</link>'. I tried entering that in as well, but I get a
message within the code saying that a closing </link> is not necessary.
So - I find myself manually typing in the closing slash each time I
test the app.
Am I missing something? Anybody successfully apply a style sheet to an
asp.net app and can give me pointers?
Thanks