Parašė NiamNiam· 2012 Sau. 2 14:01:37
#1
Taigi bandau sukoduoti panele ir nelabai gaunsi gal kas galetu padeti?
Taigi paneles principas yra toks kad paspaudus ant pasirinkto varianto tave imeta i kita puslapi.
Taigi linka noriu iterpti toki:
http://www.w3schools.com/css/try...k_advanced
Kodas:
<style type="text/css">
a:link,a:visited
{
display:block;
font-weight:bold;
color:#FFFFFF;
background-color:#98bf21;
width:120px;
text-align:center;
padding:4px;
text-decoration:none;
}
a:hover,a:active
{
background-color:#7A991A;
}
</style>
</head>
<body>
<a href="default.asp" target="_blank">This is a link</a>
Mano
CSS:
body {
background: #191919;
}
.header {
background:url(images/header.png);
background-repeat: no-repeat;
weigth:732px;
height:187px;
margin: -8px 0 0 330px;
}
.pagalba {
background:url(images/pagalba.png);
background-repeat: no-repeat;
weigth:173px;
height:276px;
margin: 40px 0 0 330px;
}
.informacija {
background:url(images/informacija.png);
background-repeat: no-repeat;
weigth:173px;
height:196px;
margin: 40px 0 0 330px;
}
.top {
background:url(images/top.png);
background-repeat: no-repeat;
weigth:513px;
height:616px;
margin: -510px 0 0 550px;
}
.tekstas {
font-family: Myriad Pro, Arial;
margin: 20px 0 0 40px;
padding:20px;
color: #F0FFFF;
}
Mano
HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Rspure.lt - runescape pagalbos svetaine.</title>
<link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class='header'></div>
</div>
<div class='pagalba'>
<div class='tekstas'>Pagalba</div>
</div>
<div class='informacija'></div>
</div>
<div class='top'></div>
</div>
</body>
</html>
Kaip man man ji iterpti i norima vieta? Ir kur ji irasyti?