For example, the second example in chapter on "CSS Dimension" in W3Schools is described with following text: "This example demonstrates how to set the height of an element using a percent value."
The example itself has code like following:
CODE
<html>
<head>
<style type="text/css">
img.normal {height:auto}
img.big {height:50%}
img.small {height:10%}
</style>
</head>
<body>
<img class="normal" src="logocss.gif" width="95" height="84" /><br />
<img class="big" src="logocss.gif" width="95" height="84" /><br />
<img class="small" src="logocss.gif" width="95" height="84" />
</body>
</html>
<head>
<style type="text/css">
img.normal {height:auto}
img.big {height:50%}
img.small {height:10%}
</style>
</head>
<body>
<img class="normal" src="logocss.gif" width="95" height="84" /><br />
<img class="big" src="logocss.gif" width="95" height="84" /><br />
<img class="small" src="logocss.gif" width="95" height="84" />
</body>
</html>
The code shows second image larger than first! The first one is with "auto" for height. So how can a 50% height be bigger than the one with "auto"? Shouldn't the 100% height mean same size as "auto"?
I know this could be browser mis-implementation problem. But a reader of this chapter will be mystified. Some explanation of what the % actually means would help.
Hope my criticism is seen as constructive.
