hi
try this one using Jquery
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script>
<style type ="text/css">
.FntFamly
{
font-family: Arial Tahoma Times New Roman;
color:Red;
}
</style>
<script>
$(document).ready(function () {
$("#lbl1").html('Jesus Never Fails.');
$("#lbl1").addClass("FntFamly");
});
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Label ID="lbl1" runat ="server"></asp:Label>
</div>
</form>
</body>
</html>
Mark as Answer if its helpful to you
Kumaraspcode2009@gmail.com
Shanky11, if this helps please login to Mark As Answer. | Alert Moderator