Здравейте имам 1 проблем мъча се да направя 1 меню но като напиша текст се появява картинка само зад текста ако не ме разбирате ще ви обясня по подробно ето кода
Код:
body {
background-color:#000000;
font-family:verdana,sans-serif;
font-size:12px;
color:#FFFFFF;
margin:0 auto 0 auto;
text-align:center;
}
.navigation a {
width:74px;
height:34px;
font-size: 12px;
font-weight: bold;
color: #FFFFFF;
text-decoration: none;
background-image:url(menu.gif);
}
.navigation a:hover {
width:74px;
height:34px;
font-size: 12px;
font-weight: bold;
color: #FFFFFF;
text-decoration: none;
background-image:url(menu.gif);
}
.header {
background-image:url(header.gif);
margin:0pt auto;
width:1024px;
height:160px;
}
.menu {
margin:0 auto 0 auto;
width:500px;
height:36px;
padding-left: 0px;
padding-top: 30px;
}
Код:
<html>
<head>
<title>Untitled Document</title>
<link rel="stylesheet" href="style1.css" type="text/css" media="screen" />
</head>
<body>
<div class="header">
<div class="menu">
<div class="navigation">
<a href="#">Home</a>
<a href="#">Home</a>
<a href="#">Home</a>
<a href="#">Home</a>
<a href="#">Home</a>
</div>
</div>
</div>
</body>
</html>