[thelist] html question.. simple

Paul Bennett Paul.Bennett at wcc.govt.nz
Tue Aug 8 18:16:39 CDT 2006


Couldn't you just use CSS to style a link to look 'like' a button? 

-----Original Message-----
From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of bruce
Sent: Wednesday, August 09, 2006 10:57 AM
To: thelist at lists.evolt.org
Subject: Re: [thelist] html question.. simple

hi...

i thought of the form approach.. but this would require additional logic..
which i suppose is ok. i was hoping there was a rather simple way i could
just place the href in the <input...>

looks like there isn't...

-thanks


-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org]On Behalf Of Christian Heilmann
Sent: Tuesday, August 08, 2006 3:16 PM
To: thelist at lists.evolt.org
Subject: Re: [thelist] html question.. simple


> <form action="url1.php">
> <input type="submit" value="button1 text" />
> </form>
>
> <form action="url2.php">
> <input type="submit" value="button2 text" />
> </form>

No need for several forms, just give the buttons names:
http://onlinetools.org/tricks/using_two_submit_buttons.php

If they are image buttons check for the x and y equivalents.

--
Chris Heilmann
Book: http://www.beginningjavascript.com
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/
--

* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !

-- 

* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester 
and archives of thelist go to: http://lists.evolt.org 
Workers of the Web, evolt ! 



More information about the thelist mailing list