Hi all If I wanted to add padding to a div tag after I found the screen resolution via Javascript what would be the best out of the following 2 options? document.all.MyBlock.style or document.layers['MyBlock'].style Thanks Regards, Abyss -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.evolt.org/pipermail/javascript/attachments/20060819/fdeb53a0/attachment.htm>