I missed that but yes, width= should be width:. Here's the code that it should be:
<input type="button" style="background-color:#HEXVAL;width:150px;" onclick="window.location='http://xyz.com/somefile.zip';" value=" Download the File "> HEXVAL should be the actual Hex value of the lightgreen color that you are looking for. -----Original Message----- From: BobSharp [mailto:[email protected]] Sent: Wednesday, April 01, 2009 11:05 AM To: cf-talk Subject: Re: Button to support both IE and Firefox <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" <[email protected]> To: "cf-talk" <[email protected]> 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:[email protected]] > 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:321181 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

