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 4 of 4
  1. #1
    Senior Coder
    Join Date
    Dec 2005
    Location
    Slovenia
    Posts
    1,963
    Thanks
    120
    Thanked 76 Times in 76 Posts

    input inside a tag IE

    Code:
    <a href = '../..' ><input type="button" value = '..' /></a>
    does not work, i.e. does not go to link. Any cure for this ?

    other that button only , and

    Code:
    onclick = 'window.location = ....'
    Last edited by BubikolRamios; 05-10-2009 at 11:12 AM.

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,858
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    What's your actual intention? Are you trying to make a link, having styles of a button? If so, try the following
    Code:
    a.button{
    background:#D4D0C8 none repeat scroll 0;
    border-color:#FFFFFF #000000 #000000 #FFFFFF;
    border-style:solid;
    border-width:1px;
    cursor:default;
    float:left;
    margin-left:10px;
    padding:0 4px;
    }
    Code:
    <a href="../" class="button">Link</a>
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    Senior Coder
    Join Date
    Dec 2005
    Location
    Slovenia
    Posts
    1,963
    Thanks
    120
    Thanked 76 Times in 76 Posts
    Yes, and it works in FF. It would be nice if IE would allso suport it.

    using css is to much work to recreate it, and button is different in each browser.
    Last edited by BubikolRamios; 05-10-2009 at 02:27 PM.

  • #4
    Senior Coder
    Join Date
    Dec 2005
    Location
    Slovenia
    Posts
    1,963
    Thanks
    120
    Thanked 76 Times in 76 Posts
    found this, looks ok.

    Code:
    <form action="link" method="GET" >
                 <input type="submit" value="some text">          
    </form>


  •  

    Posting Permissions

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