This code will help you to add inbuilt style sheet in your webpage. Inside head tag define your css as given in exampe.
<%@ Page Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" >
<html xmlns=>
<head >
<title>ASP.NET - inbuilt CSS Example.</title>
<style type="text/css">
body {
font-family: Verdana;
}
a:link {
text-decoration: none;
color: Green;
}
a:hover {
text-decoration: underline;
color: red;
}
a:visited {
text-decoration: none;
color: blue;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<a href=>All india News</a>
</div>
</form>
</body>
</html>
No comments:
Post a Comment