Rather than tell a viewer the best window size for your browser, you can set it yourself. That way, when the page loads, the Web browser automatically resizes to the desired size. To pull off this neat little trick, just add a simple little comment to the BODY tag. For example, if you wanted to automatically resize a page to 800 x 600 pixels, you would use the following code:
<BODY onload="window.resizeTo(800,600)">
Related articles: browser,
html,
web
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.