| Programming C# C++ (7) Delphi (604) Java (8) JavaScript (55) Document (8) Events (8) Strings (3) perl (40) php (12) VBScript (1) Visual Basic (1) |
How to create a table that takes up the full screen
Question: I want to display something centered on the screen and figured I use a table with one row and one column and set ALIGN=CENTER and VALIGN=CENTER. But how can I force the browser to full screen and adjust the table?Answer: If your full screen window is popping up after a button or a link is clicked, then you can use javascript's window.open() as shown below.If you need to resize an existing window, use the second piece of code. It will not hide the menu bar, status bar or other controls. To make the table use the full window, simply put in WIDTH="100%" HEIGHT="100%" as shown at the bottom.
Comments:
|