Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Aug 2005
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    placing buttons on front

    This is the script I use to make refresh and print page buttons ______________________________________________________

    <script language="JavaScript">
    <!-- hiding
    document.write('<form><input type=button value="Start Over" onClick="history.go()"></form>')
    // End --></script><script language="Javascript1.2"><!--
    var message = "Print Target";function printpage() {window.print();}document.write("<form><input type=button "+"value=\""+message+"\" onClick=\"printpage()\"></form>");
    //--></right>
    </script>
    _____________________________________________________________

    This is what I use to shade the right side of the page
    ________________________________________________________

    <IMG STYLE="position:absolute; TOP:0; LEFT:743; WIDTH:261; HEIGHT:785" SRC="http://www.theimagelocation/grey.jpg">
    _____________________________________________________


    The problem is the shading covers the buttons, how do I get the buttons to the front of the page Or on top of the shading?
    Last edited by claymaker; 10-17-2005 at 07:28 AM.

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Try adding z-index:0; to the style information.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •