First make Ur css into two classes
<style>
.tp_serv2
{
margin: 30px 15px 0px 5px;
direction:ltr;
font-size:14px;
position:relative;
top: -1px;
left: 815px;
color: #ffffff;
font-size: 11px;
font-style: normal;
font-variant: normal;
font-weight: bold;
line-height: 14px;
font-family: "Trebuchet MS", verdana;
}
.tp_serv3
{
margin: 30px 15px 0px 5px;
direction:ltr;
font-size:14px;
position:relative;
top: -1px;
left: 825px;
color: #ffffff;
font-size: 11px;
font-style: normal;
font-variant: normal;
font-weight: bold;
line-height: 14px;
font-family: "Trebuchet MS", verdana;
}
<style>
<body>
<div id="tblid" style="width:40px ; height:40px"></div>
</body>
<script>
$(document).ready()
{
if ($.browser.msie) {
$("#tblid").addClass('tp_serv2');
}
else {
$("#tblid").addClass('tp_serv3');
}
</script></style>
</style>