<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I think i found it ..</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT size=2>
<P>document.getElementById(</FONT><FONT color=#800000
size=2>"DefaultFlash"</FONT><FONT size=2>).style.paddingTop = </FONT><FONT
color=#800000 size=2>"20%"</FONT><FONT size=2>;</FONT></P>
<P><FONT size=2></FONT> </P>
<P><FONT size=2><FONT face=Arial>thanks anyway</FONT></P></FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=Info@Abyss.ws href="mailto:Info@Abyss.ws">Abyss - Information</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=javascript@LaTech.edu
href="mailto:javascript@LaTech.edu">javascript@LaTech.edu</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, August 19, 2006 4:29
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Javascript] Apply padding via
javascript</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hi all</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>If I wanted to add padding to a div tag after I
found the screen resolution via Javascript</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>what would be the best out of the following 2
options?</DIV>
<DIV><BR> document.all.MyBlock.style<BR>or</DIV>
<DIV> document.layers['MyBlock'].style<BR><BR></DIV>
<DIV>Thanks</DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV>Abyss</DIV></FONT>
<P>
<HR>
<P></P>_______________________________________________<BR>Javascript mailing
list<BR>Javascript@LaTech.edu<BR>https://lists.LaTech.edu/mailman/listinfo/javascript<BR></BLOCKQUOTE></BODY></HTML>