Parašė CyTaS· 2011 Rugs. 14 00:09:35
#1
Taiva bandziau koduot
php-f dizaina ir iskilo problema subheaderio linkai islinde
Theme.php:
echo "<table class='sub-header' align='center' cellspacing='0' cellpadding='0' width='960px'><tr> <td>
<td></td>
</tr>
<div id='sub-nav'>
<a href='".BASEDIR."index.php'></a>
<ul>
<li><a href='".BASEDIR."index.php'><i>Pagrindinis</i></a></li>
<li><a href='".FORUM."index.php'><i><font style='margin:0 0 0 0px; 'size+0' color='#00bcf0'>Forumas</font></i></a></li>
<li><a href='".BASEDIR."download.php'><i>Siuntiniai</i></a></li>
<li><a href='".BASEDIR."photoalubum.php'><i>Galerija</i></a></li>
<li><a href='".BASEDIR."viewpage.php?page_id=7'><i>Straipsniai</i></a></li>
</ul>
</div>
CSS:
#sub-nav{
width:970px; height:0px;
color:#ffffff;
float:right;
}
#sub-nav img{
position:absolute; right:0; top:60px;
}
#sub-nav ul{
position:absolute; left:65px; top:180px;
margin:0; padding:0; list-style:none;
}
#sub-nav ul li{
width:110px; margin:0; float:left;
}
#sub-nav ul li a{
text-shadow: 1px 1px 0pt #004677;
padding-top: 10px;
padding-left: 20px;
font-family: Segoe UI;
font-size: 12px;
color: #ffffff;
font-weight: bold;
text-align: right;
text-decoration: none;
display: block;
background: none;
height: 25px;
}
#sub-nav ul li a:hover{
color: #f8f8f8;
}
Gal galit padet sukist i vieta?