tags:

views:

15

answers:

0

hi all, I might asking simple question. But i dont know how to resolve it? I just created normal button. which contains text around 30 characters. Then button size should increase accordingly. But button coming in ugly manner in IE. I checked in some other machines. There it is coming better. I just understood, my machine windows themes are enabled and applied to my html page. I tried to follow W3c standards. But it is not working in my machine. here i will give sample code which is not working in my machine. Please help me to resolve.

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
<!-- the XHTML document body starts here--> 
<html>

<head>
</head>
<body>

<button type="button">
<div>hi</div>
<div id = "A1">hi2jksaajkljalkfjlaskjfdklajflkadsjdflkasjdfkljaslkfjasl</div>
</button>

</body>
</html>

Might small issue, its very difficult to track....