<input type="button" style="background-color:lightgreen;width=150" onclick="location.href='http://xyz.com/somefile.zip';" value=" Download the File ">
two things I can see ... Should width= not be width: ? Does onclick need the semicolon ; ? ----- Original Message ----- From: "Jake Churchill" <j...@cfwebtools.com> To: "cf-talk" <cf-talk@houseoffusion.com> Sent: Wednesday, April 01, 2009 4:29 PM Subject: RE: Button to support both IE and Firefox > > Try swapping out "lightgreen" with the hex value of that color and add > "px" > after 150 and it'll probably work fine. > > -----Original Message----- > From: Don L [mailto:do...@yahoo.com] > Sent: Wednesday, April 01, 2009 11:16 AM > To: cf-talk > Subject: Button to support both IE and Firefox > > > The following code for Button triggered download works with IE7 (hopefully > IE6 & 8 as well) but not FireFox3, do you know how to make it supports > both > browsers? Getting rusty on this kind of stuff... Thanks. > > Don > > <input type="button" style="background-color:lightgreen;width=150" > onclick="location.href='http://xyz.com/somefile.zip';" value=" Download > the > File "> > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321180 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4