Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: yes/no + button together in a single line

by dreadpiratepeter (Priest)
on May 05, 2009 at 15:06 UTC ( [id://761959]=note: print w/replies, xml ) Need Help??


in reply to yes/no + button together in a single line

This is actually a HTML question, but anyway. the problem is that you have each of your buttons in a separate form, which (besides being poor design) is causing your problem. I believe form tags are considered to be block level elements.
You can try several things:
  • 1 - put style="display: inline;" into your form tags
  • 2 - fix your cgi to have 1 handler that uses the value submitted for the button to determine how to behave


    -pete
    "Worry is like a rocking chair. It gives you something to do, but it doesn't get you anywhere."
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Domain Nodelet?
    Node Status?
    node history
    Node Type: note [id://761959]
    help
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this?Last hourOther CB clients
    Other Users?
    Others goofing around in the Monastery: (5)
    As of 2024-04-25 08:13 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found