wrote:
> The code below does not work for me in Internet Explorer 7.0 (version
> version 7.0.5700.6).
>
> The button become atach to the right site of the window, and becomes
> very wide. But only in IE 7.0 and only when doctype is set to strict.
>
> Is the code wrong, or is it a Bug in IE 7.0 ?
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/strict.dtd">
> <HTML>
> <BODY>
> <input value="A button with absolute position" type=button
> style="POSITION:absolute;top:30px;left:60px;" />
> </BODY>
> </HTML>
>
Probably a bug, but do notice that nowhere you specified the width of
your button. If the width is unspecified, it's unpredictable how wide
it'll be.
So try specifying width and see what happens.
--
Martijn Saly