Я делаю кнопку, которая открывает ссылку (веб-сайт), но проблема в том, что она работает только на Chrome! Зачем??
ссылка здесь!
здесь простой HTML-код>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>HTML and CSS Rounded Corner Button Generated By iWebToolsOnline.com</title>
<link href="./style.css" rel="stylesheet" type="text/css" />
<style href>a {text-decoration: none} </style>
</head>
<body>
<h3> </h3>
<button class="rounded">
<a href="http://www.iwebtoolsonline.com/rss-feed-icon-generator">
<span>Save</span>
</a>
</button>
<br/><br/>
</body>
</html>
CSS
button {
border: 0 none;
cursor: pointer;
font-weight: bold;
padding: 0 15px 0 0;
text-align: center;
height: 40px;
line-height: 40px;
width: auto;
}
button.rounded {
background: transparent url( btn_right.png ) no-repeat scroll right top;
clear: left;
font-family: "Kristen ITC";
font-size: 36px;
}
button span {
display: block;
padding: 0 0 0 15px;
position: relative;
white-space: nowrap;
height: 40px;
line-height: 40px;
}
button.rounded span {
background: transparent url( btn_left.png ) no-repeat scroll left top;
color: #FFFFFF;
}
button.rounded:hover {
background-position: 100% -40px;
}
button.rounded:hover span {
background-position: 0% -40px;
}
button::-moz-focus-inner {
border: none;
}
Вы можете найти ссылку из генератора, который я использовал для кнопки, в ссылке, на которую я пытаюсь перейти, генератор не дает код для ссылки, поэтому я просто использовал href в кнопке, но это не сделано ??
в чем еще может быть проблема?
Большое спасибо!