.net - Style Sheet Loading Problem -
The use of C #
is not loading in my webpage style sheet, I use Google Chrome browser I'm using
code.
& lt; Html xmlns = "http://www.w3.org/1999/xhtml" & gt; & Lt; Head runat = "server" & gt; & Lt; Title & gt; Data entry & lt; / Title & gt; & Lt; Link rel = "stylesheet" href = "g: /style.css" type = "text / css" charset = "UTF-8" /> & Lt; / Head & gt; & Lt; / Html & gt;
The above code is not loading the style.css file.
How to solve this problem.
Your HREF is incorrect:
href = "g: / Style.css "
You need to use a relative path:
href =" ../ style.css "
Or if you want to use it, use it right one - this means people with just the right browser / operating system and can see the stylesheet with g
drive:
/ P>
href = "file: /// g: /style.css"
Comments
Post a Comment