Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi, Iam using VS2010..I wish to learn about site.css...When I create ASP.Net Web application I can find Styles folder, inside Site.css file...And I found the codes...
Similarly I create a Empty web application & added the style sheet, but I don't know..how to get the codings from site.master & other pages..

For which purpose it can be useful to the project?

Thanks for the guidances..
Posted
Comments
Jameel VM 7-Aug-13 4:27am    
site.css is nothing but the default style provided by asp.net. actually what's you problem?

1 solution

You can use css by link it into head tag of Asp.Net application page like
If your css file name is Style.css and folder path is css/Style.css then your link will be.

ASP.NET
<head runat="server">
    <title></title>

    <link href="css/LayOut.css" rel="stylesheet" type="text/css" />


<body>...
</body>


http://matthewjamestaylor.com/blog/adding-css-to-html-with-link-embed-inline-and-import[^]

http://stackoverflow.com/questions/10781685/integration-of-css-javascript-and-html-howto[^]

http://www.w3.org/TR/html401/present/styles.html[^]

http://www.w3.org/Style/Examples/011/firstcss.en.html[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900