Corraggiouno
Mitglied
hi,
ich habe ein kleines Problem mit meiner Navigation. Wenn ich eine Link anklicke, wird dieser fett hevorgehoben; gleichzeitig wird dabei das ganz - aufgrund der Bold Definition - zur Seite verschoben. Dies möchte ich vermeiden.
kann mir da jemand einen Tipp geben?
ph
css-code:
ich habe ein kleines Problem mit meiner Navigation. Wenn ich eine Link anklicke, wird dieser fett hevorgehoben; gleichzeitig wird dabei das ganz - aufgrund der Bold Definition - zur Seite verschoben. Dies möchte ich vermeiden.
kann mir da jemand einen Tipp geben?
ph
css-code:
Code:
* {margin: 0px; padding: 0px;}
html
{
height: 100.3%;
font-family: Verdana;
font-style: normal;
font-size: 0.8em;
}
body
{
text-align: center;
background: url(../images/background.png) repeat-x;
}
div#wrapper
{
width: 1120px;
height: 600px;
margin: 50px auto;
/*background: blue;*/
}
h1
{
background: url(../images/logo1.png) no-repeat;
background-position: center;
height:198px;
text-indent: -999em;
}
ul
{
background: url(../images/background_nav.png) repeat-x;
height: 40px;
margin: -38px 300px;
}
li
{
/*background: url(../images/abgrenzung.pn) no-repeat;*/
padding: 0 20px;
line-height: 3.0em;
display:inline;
list-style-type: none;
}
a
{
text-decoration:none;
}
a:link
{
text-decoration:none;
color:#ffffff;
}
a:visited
{
color:#ffffff;
}
a:hover
{
text-decoration:underline;
color:#ffffff;
}
.link_mark
{
font-weight:bold;
color:#ffffff;
padding: 0 20px;
}