logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Dreamweaver General
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 10-11-2012, 05:02 AM   #1
tmacka88
 
Join Date: Jul 2012
Posts: 11
Default download button?

Hi,

I am having a little trouble with getting my button to download a test file.

I have a 3 stage button= norm, hover and active. I want this button when clicked to download a file without leaving the page or going into another one.

this is my html
HTML Code:
<div id="dw-btn-power-out">
<a href="Download-files/Power-out/v.1.0.0/test.zip" title="Download Power Out" target="_blank"></a>
   </div>
and this is my CSS
HTML Code:
#dw-btn-power-out {
	height: 68px;
	width: 270px;
	margin-right: auto;
	margin-left: auto;
	background-image: url(img/dw-power-out.png);
}
#dw-btn-power-out:hover {
	background-image: url(img/dw-power-out-hover.png);
}
#dw-btn-power-out:active {
	background-image: url(img/dw-power-out-active.png);
}
am i missing something cause my navbar links work which are the same as this.

thanks
tmacka88 is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:22 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com