Forum Moderators: not2easy
Below is the code snippet to describe my problem.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML Strict//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<body scroll="yes">
<div>
<div style="line-height:10px;font-size:20px;width:150px;background-color:Gray;overflow:visible;padding-bottom:auto;height:100%;">
WelCome To ASP.NET Forum
</div>
</div>
</body>
</html>
I am using IE 7.
Thanks in advance !
Regards,
Ronak
When you define in pixels some browsers and browser versions take that as a gospel size and will try to stop it from doing anything else.
By using EM's or percentages you're telling the browser it's ok to go with the flow and expand or contract depending on the user.