Hallo liebes forum,
ich hätte da ein kleines Problem mit den a tag -.-
Ich hab mithilfe eines DIV-tags und darin enthaltenen p und a tags eine navigation gebaut,
doch leider wird der border-bottom nicht komplett durchgezogen, da hinter dem link iwie noch ein leerzeichen ist!
(siehe fotos)
Ich habe es auch vorher bei .menulink {margin:0px; und padding:0px;} probiert...
Hat da vielleicht jemand eine idee was man da tuen kann ?
Fotos:
ImageShack® - Online Photo and Video Hosting (falsch)
ImageShack® - Online Photo and Video Hosting (wäre richtig vom format her, allesdings ist das immer bei letzten link so, sobald ich einen neuen link hinzufügen wird dieser dann falsch :sad:)
Code:
CSS:
Seite im Live-Modus:Sportfest - News
ich hätte da ein kleines Problem mit den a tag -.-
Ich hab mithilfe eines DIV-tags und darin enthaltenen p und a tags eine navigation gebaut,
doch leider wird der border-bottom nicht komplett durchgezogen, da hinter dem link iwie noch ein leerzeichen ist!
(siehe fotos)
Ich habe es auch vorher bei .menulink {margin:0px; und padding:0px;} probiert...
Hat da vielleicht jemand eine idee was man da tuen kann ?
Fotos:
ImageShack® - Online Photo and Video Hosting (falsch)
ImageShack® - Online Photo and Video Hosting (wäre richtig vom format her, allesdings ist das immer bei letzten link so, sobald ich einen neuen link hinzufügen wird dieser dann falsch :sad:)
Code:
HTML:
<div class="header">
<div class="navi">
<p class="menu">
<a href="#" class="menulink" id="rot"> Inhalte</a>
<a href="#" class="menulink" id="gelb"> Kontakt</a>
<a href="#" class="menulink" id="blau"> Mehr anzeigen</a>
</p>
</div>
</div>
CSS:
Code:
.navi { position: relative; height:100px; }
.menu { position: absolute; bottom: 0; background-color:#efe; min-height:50px !important; word-spacing: 0px; }
.menulink { display:inline-block; color:black; min-height:50px !important; border-left:1px solid #000; width:auto; font-weight:bold; text-decoration:none; }
.menulink:hover { min-height:47px !important; }
#rot:hover { border-bottom:3px solid #FF0000; }
#gelb:hover { border-bottom:3px solid #FFFF00; }
#blau:hover { border-bottom:3px solid #0000FF; }
Seite im Live-Modus:Sportfest - News