Re: SizeToContent for IE
- From: "Paul Randall" <paulr901@xxxxxxxxxxxx>
- Date: Tue, 12 Feb 2008 14:16:07 -0700
"Csaba Gabor" <danswer@xxxxxxxxx> wrote in message
news:70352af4-f1ff-470b-83f4-c9f7af9a3b8e@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
'Render page. BODY element => messy. Must be better way
ie.document.parentWindow.execScript( _
"document.write(""" & bodyHTML & """);document.close()")
'ie.document.body.scroll = "no"
Have you considered just creating a new body element and then
replacing the old body node with the new body element and set body
attributes as desired?
To see the technique in action, try the sample JScript here; it is
easily ported to VBScript.
http://msdn2.microsoft.com/en-us/library/ms536719(VS.85).aspx
I get confused by the terminolgy; I don't understand what the
difference is between an HTML element and an HTML node.
-Paul Randall
.
- Follow-Ups:
- Re: SizeToContent for IE
- From: Csaba Gabor
- Re: SizeToContent for IE
- From: Csaba Gabor
- Re: SizeToContent for IE
- From: ekkehard.horner
- Re: SizeToContent for IE
- References:
- SizeToContent for IE
- From: Csaba Gabor
- SizeToContent for IE
- Prev by Date: Re: SizeToContent for IE
- Next by Date: Re: vbscript to save file to a folder under user profile
- Previous by thread: Re: SizeToContent for IE
- Next by thread: Re: SizeToContent for IE
- Index(es):
Relevant Pages
|