how can i make a button which directs to a particular URL upon clicking it?
this is what i have so far, which is amazingly pathetic
and can anyone tell me if i should use the <button>... i think i've read somewhere that this is deprecated in XHMTL 1.0 and will be removed in the next spec... is that right?
That may or may not work for you -- I give no warranties...
i'm using a button because it's to complement a Submit button... i figured it'd be more consistent that way... could you suggest a better way? using a normal hyperlink (anchor tag) wouldn't really fit in beside the Submit button (at least to me it looks weird)... and search-engine spidering (?) is not an issue because it's an Intranet app...
you can "fake" a button with CSS. Gives this a go:
border: medium outset #ff0000;
<a href="bwaf.html" class="fakebutton">Fake Button</a>
Tested on Mozilla but I didn't get time to test it in IE. Tweak for best effect
Works in IE 5.5. It's ugly though.
Here's a prettier one (tweaked and checked in IE6):
border: 2px outset #cccccc;
border: 2px inset #cccccc;
geeze.. all that code...
use a form instead with hidden fields!
just use this:
Originally posted by AljapaCo
[B]geeze.. all that code...
use a form instead with hidden fields! [/B]
that won't work because i need the button for hyperlinking... what good is a hidden field to me
and thanks skunk for all that help... really appreciate it :)... i'm thinking Ian's should work best though i haven't tried it (i'm not willing to do it now... must wait till workday... )
This topic is now closed. New replies are no longer allowed.