Try adding a 'return false' to the onclick. Adrian
> -----Original Message----- > From: Don L [mailto:[email protected]] > Sent: 01 April 2009 18:25 > To: cf-talk > Subject: Re: Button to support both IE and Firefox > > > Yeah, you all, good catch on width= instead of width: > also, there's a semicolon for the onclick event, still to no avail. > hmmm... thks. > > >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. > > > ><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 ; ? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:321186 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

