Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8899657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T00:54:39+00:00 2026-06-15T00:54:39+00:00

You can check out my little site here . I have two problems: I

  • 0

You can check out my little site here. I have two problems:

  1. I use css gradient to color my background. When working with high resolutions (1366*768 for example) only half of the page is painted.
  2. My “andale” button on the bottom is not cantered. I’ve noticed when inspecting the code that the <div> that contains the button covers the container, and I don’t know why.

Also, if you don’t like jsFiddle, here’s my code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Rock-paper-scissers</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<script src="rps.js"></script>
<style type="text/css">
body{
    height: 100%;
    font: 100.01% "Trebuchet MS",Verdana,Arial,sans-serif;
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#93e1d1), to(#d4c87c));
    background-image: -webkit-linear-gradient(left, #93e1d1, #d4c87c); 
    background-image: -moz-linear-gradient(top, #93e1d1, #d4c87c);
    background-repeat: no-repeat;
}
div#container {
    text-align: center;
    width: 80%;
    margin: 0 auto;
}
div.InnerLeft {
    width: 50%;
    position: relative;
    float: left;
}
div.InnerRight {
    width: 50%;
    position: relative;
    float: right;
}
select {
    background: transparent;
    margin-top: 15px;
    width: 220px;
    font-size: 16px;
    -webkit-appearance: none;
    border: 0px;
    height: 34px;
}
</style>
</head>
<body>
<div id="container">
<img src="header.png">
<div class="InnerLeft">
<img src="uno.png"><br>
<select id="p1" onchange="change('p1','rpsleft')">
<option value=0>Choose your weapon</option>
<option value=1>Rock</option>
<option value=2>Paper</option>
<option value=3>Scissors</option>
</select>
<p><img src="rpsL.png" id="rpsleft"></p>
</div>
<div class="InnerRight">
<img src="dos.png"><br>
<select id="p2" onchange="change('p2','rpsright')">
<option value=0>Choose your weapon</option>
<option value=1>Rock</option>
<option value=2>Paper</option>
<option value=3>Scissors</option>
</select>
<p><img src="rps.png" id="rpsright"></p>
</div>
<div id="footer">
<img src="andale.png" id="andale" onclick="rps(document.getElementById('p1').value,document.getElementById('p2').value)"
onMouseOver="document.getElementById('andale').src='andale2.png'"
onMouseOut="document.getElementById('andale').src='andale.png'">
</div>
</div>
</body>

Any ideas? Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T00:54:40+00:00Added an answer on June 15, 2026 at 12:54 am

    use html {min-height: 100%;} , not height:100%; because if your page have a long height you will not see all the page, because 100% is the height of the browser

    and add #footer {text-align:center;} in order to center your image button

    all the code:

        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <title>Rock-paper-scissers</title>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
    <script src="rps.js"></script>
    <style type="text/css">
    
    html {min-height:100%;
     }
    body{
        height: 100%;background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#93e1d1), to(#d4c87c));
        background-image: -webkit-linear-gradient(left, #93e1d1, #d4c87c); 
        background-image: -moz-linear-gradient(top, #93e1d1, #d4c87c);
        font: 100.01% "Trebuchet MS",Verdana,Arial,sans-serif;
    
        background-repeat: no-repeat;
        margin: 0;
        padding: 0;
    }
    div#container {
        text-align: center;
        width: 80%;
        margin: 0 auto;
    }
    div.InnerLeft {
        width: 50%;
        position: relative;
        float: left;
    }
    div.InnerRight {
        width: 50%;
        position: relative;
        float: right;
    }
    select {
        background: transparent;
        margin-top: 15px;
        width: 220px;
        font-size: 16px;
        -webkit-appearance: none;
        border: 0px;
        height: 34px;
    }
    
    #footer {text-align:center;}
    </style>
    </head>
    <body>
    <div id="container">
    <img src="header.png">
    <div class="InnerLeft">
    <img src="uno.png"><br>
    <select id="p1" onchange="change('p1','rpsleft')">
    <option value=0>Choose your weapon</option>
    <option value=1>Rock</option>
    <option value=2>Paper</option>
    <option value=3>Scissors</option>
    </select>
    <p><img src="rpsL.png" id="rpsleft"></p>
    </div>
    <div class="InnerRight">
    <img src="dos.png"><br>
    <select id="p2" onchange="change('p2','rpsright')">
    <option value=0>Choose your weapon</option>
    <option value=1>Rock</option>
    <option value=2>Paper</option>
    <option value=3>Scissors</option>
    </select>
    <p><img src="rps.png" id="rpsright"></p>
    </div>
    <div id="footer">
    <img src="andale.png" id="andale" onclick="rps(document.getElementById('p1').value,document.getElementById('p2').value)"
    onMouseOver="document.getElementById('andale').src='andale2.png'"
    onMouseOut="document.getElementById('andale').src='andale.png'">
    </div>
    </div>
    </body>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have made this webpage, you can check it out here http://www.bettingtowin.net/webcam.html I have
I'm working on a little html/css framework that I can use for most of
If you check out here: http://www.tumblr.com/explore You'll notice the background box and little triangle
Can check out here alt text http://51hired.com/static/problem.bmp
On a site I'm working with, we've got two classes of changes they can
I am using a confirm() function for logging out. How can i check whether
Please check my website out: http://www.budgie.richardcmpage.com/index.php I've tried all sorts and can't get the
(I would check this out for myself, but I don't have VS2010 (yet)) Say
Ok, my site has 3 check out options - our credit cards processing ,
I need a sanity check here if we can, any ideas on correcting/changing the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.