Hallo Leute,
ich hab eine kleine Problem mit meiner CSS-Formatierung.
-
Was hab ich vor?
Ich möchte in einer Navigation pro Link ein Bildchen (Pfeil) und dann den Link-Text dahinter anzeigen. Wenn der Text länger ist wie die Navigation breit, erfolgt ein umbruch und soll bündig unter dem Text weiter fließen, aber nicht unterhalb vom Bild beginnen! -
Code
CSS:
#pfeil {border:0px;}
#HNAV
{
font-family: Verdana, Arial, Tahoma, sans-serif;
font-size: 10pt;
font-weight: bold;
color: #33F000;
background-color: #F2F2F2;
padding-top: 40px;
position: fixed;
width: 250px;
height: 100%;
}
A {width: 240px; text-decoration: none;}
A.hnav:link {height: 25px; border-bottom: 1px solid #AAAAAA; padding-top: 5px; COLOR:#000000;}
A.hnav:visited {height: 25px; border-bottom: 1px solid #AAAAAA; padding-top: 5px; COLOR:#000000;}
A.hnav:active {height: 25px; border-bottom: 1px solid #AAAAAA; padding-top: 5px; COLOR:#FF0000;}
A.hnav:hover {height: 25px; border-bottom: 1px solid #AAAAAA; padding-top: 5px; COLOR:#FF0000;}
HTML:
Ich hoffe jemand kann mir beim lösen dieses Problems weiter helfen. Eigentlich ist es nicht mehr wie ein
- asdf
aber anstelle vom Punkt ein Bildchen…
Vielen Dank.
Grüße,
Jens