Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Puzzled as to where this prints?  (Read 3378 times)

0 Members and 1 Guest are viewing this topic.

Wyngs

    Topic Starter


    Beginner

    Puzzled as to where this prints?
    « on: October 09, 2012, 07:34:49 PM »
    This simple page is used for a large, numeral countdown so as to be visible some distance from the monitor. This prints the numeral 1.

    My problem is that the numeral prints at the bottom of the screen and I can't figure out why? If I use a font pt larger then 500 then the numeral starts slipping off at the bottom, so in order to have the whole thing I'm restricted to 500 pt. In other words, I have this big blank space at the top.  (28in monitor set at native pixal size of 1920 wide).

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Final//EN">
    <HTML>
    <HEADING>
    <TITLE>1 HTML</TITLE>

    <STYLE>
    H2{font-size : 500pt}
    </STYLE>
    </HEADING>

    <BODY>
    <script>
    /*Random background color- by javascriptkit.com
    Visit JavaScript Kit (http://javascriptkit.com) for script
    Credit must stay intact for use*/
    //Enter list of bgcolors:
    var bgcolorlist=new Array("#DFDFFF", "#FFFFBF", "#80FF80", "#EAEAFF", "#C9FFA8", "#F7F7F7", "#FFFFFF",

    "#DDDD00", "#A1543F", "#708A92", "#49CE2A", "#3B50BF", "#A50562", "#E049F4", "#9E55D3", "#EB1440", "#4BC054",

    "#3A6A94", "#D3DEE3", "#48435B", "#39BE6A", "#5D0630", "#40F6B2", "#765BAB", "#F1A343")
    document.bgColor=bgcolorlist[Math.floor(Math.random()*bgcolorlist.length)]
    </script>
    <H2>01</H2>
    <META HTTP-EQUIV="Refresh" Content="60;url=finished.html">
    <BGSOUND SRC="buzzer.wav" LOOP="2">
    </BODY>
    </HTML>


    Thanks in advance for any help.