Hi Rod,

Use cursor:pointer;

Instead of "<input type=button", you can use "<button
onClick="history.back(-1)">Back to Product</button>" = html5

Regards,

Marie

2017-02-23 23:48 GMT+01:00 Rod Castello <rodcastel...@gmail.com>:

> Hi,
> I'm using this code to generate a button that takes my users to the page
> the just came from.
> <input type="button" value="Back to Product" onclick="history.back(-1)"/>
>
> It works fine, but I would like to style it and set the cursor to "hand".
> I'm trying to find out how to add a class or id to it, but haven't been
> able to find anything online as of yet.
>
> The other way I could do it is create the button with HTML and CSS but then
> I don't know how to add the javascript functionality to it.
>
> Would love a little coaching on this.
> Here's the pages involved. Click where it says "CLICK HERE FOR NUTRITIONAL
> INFORMATION"
> http://www.lotuspetfoods.com/for-cats/canned-pate/duck-vegetables/
> The back button is here:
> http://www.lotuspetfoods.com/canned-pates-nutrient-table/
>
> Ideally I'd like the Nutritional Information to be on a pop up like what
> happens when you click on the button called "GLOSSARY". I haven't been able
> to figure that one out yet.
>
> Thanks in advance for any help.
>
> --
> Rod Castello
> DIGITAL DESIGN AND DEVELOPMENT
> 818.437.7880
> rodcastel...@gmail.com
> www.smashcube.com
> ______________________________________________________________________
> css-discuss [css-d@lists.css-discuss.org]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/




-- 
Groetjes,
Marie
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to