Hallo! Ich hoffe, Ihr könnt mir helfen. Ich habe folgendes Problem ich habe meine pagination style mit dieser css script verändert
no.css
div.pagination {
margin-top: 20px;
margin-bottom: 10px;
}
div.pagination a {
padding: 2px 5px 2px 5px;
margin-right: 2px;
border: 1px solid #8DB5D7;
text-decoration: none;
color: #000;
}
div.pagination a:hover, div.pagination a:active {
padding: 2px 5px 2px 5px;
margin-right: 2px;
border: 1px solid red;
}
div.pagination span.current {
padding: 2px 5px 2px 5px;
margin-right: 2px;
border: 1px solid #E89954;
font-weight: bold;
background-color: #FFCA7D;
color: #000;
}
div.pagination span.disabled {
padding: 2px 5px 2px 5px;
margin-right: 2px;
border: 1px solid #ccc;
color: #ccc;
}
//Ausgabe der Seitenlinks:
echo '<link rel="stylesheet" type="text/css" href="no.css"><div class="pagination">';
echo "<b>Seite:</b> ";
//Ausgabe der Links zu den Seiten
for($a=0; $a < $wieviel_seiten; $a++)
{
$b = $a + 1;
//Wenn der User sich auf dieser Seite befindet, keinen Link ausgeben
if($seite == $b)
{
echo " <a class=\"current\"><b>$b</b></a> ";
}
//Aus dieser Seite ist der User nicht, also einen Link ausgeben
else
{
echo " <a href=\"?seite=$b\">$b</a> ";
}
}
echo "</div>"; echo "</div>"; echo '</div>';
?>
es hatt auch fast alles geklappt aber wenn ich auf aktive seite bin hat die aktive seite keine farbe.