Re: Default top and bottom margin disappear in IE7: why



On 13 nov, 12:15, Ben C <spams...@xxxxxxxxx> wrote:

I think getting a value of "auto" is another bug in itself--
getComputedStyle is meant to give you the computed style, which for a
margin, should be either a number of pixels or a percentage.

Internet Explorer 6 and Internet Explorer 7 do not support
document.defaultView.getComputedStyle(...)

Internet Explorer 6 and Internet Explorer 7 only support
document.getElementById(id-attribute-value).currentStyle.[CSS-property-
name]


If you've
set margin: auto, then you should get however many pixels the margin
turned out to be (in this case auto should compute to 0, so you should
get "0" or "0px").

Yes. "auto" by itself means nothing concrete, nothing tangible. When a
value is computed, it must equate to something concrete. Internet
Explorer 7 is still far from all this.

Regards, Gérard
Yes.
.



Relevant Pages

  • Re: Right margin is getting cut off during printing
    ... this download page will install the ... > I print a web page in IE 6.0 and the right margin is getting cut off. ... it would be a welcome fix to have Internet Explorer ... > Is it really true that this *bug* still exists in IE 6.0? ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Right margin is getting cut off during printing
    ... I print a web page in IE 6.0 and the right margin is getting cut off. ... lame response, ... it would be a welcome fix to have Internet Explorer ... Is it really true that this *bug* still exists in IE 6.0? ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Right margin is getting cut off during printing
    ... I print a web page in IE 6.0 and the right margin is getting cut off. ... I am aware that printing Landscape has been recommended. ... it would be a welcome fix to have Internet Explorer ... A search on Google for IE right margin print yeilds 41,000 posts. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Printing internet pages
    ... not print anything in the right margin of the page, ... You can tell Internet Explorer to avoid that area by ... > will fix that problems? ... I'm printing on a HP LaserJet 5p ...
    (microsoft.public.win2000.printing)
  • Re: GET_TEXT IN INTERNET EXPLORER?
    ... You would probably have to use an automation interface, since there is no way to figure ... out what pixels have been painted on the screen. ... i am gonna make dictinary program, ... when i reach any word on internet explorer, ...
    (microsoft.public.vc.mfc)

Loading