Windows Vista Tips

Windows Vista Tips > Newsgroups > Internet Explorer > Re: Bug with button with absolute position ?

Reply
Thread Tools Display Modes

Re: Bug with button with absolute position ?

 
 
Martijn Saly
Guest
Posts: n/a

 
      09-22-2006
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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft's Absolute Greed Mick Windows Vista General Discussion 18 05-19-2007 11:22 AM
Absolute frustration Ian Windows Vista General Discussion 22 04-15-2007 07:42 AM
close button position Karan Internet Explorer 4 03-18-2006 08:02 PM
ie7 css absolute and relative positioining wfbnadador Internet Explorer 0 02-02-2006 05:11 PM
Absolute ImagePath Nick Windows Vista Drivers 1 02-13-2004 08:56 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59