![]() |
Link Dekoration [CSS??]
Hi,
wenn man auf ![]() Nun ist meine Frage, wie bekomme ich diese gepunktete Linie hin? Die momentane Dekoration der Links:
Delphi-Quellcode:
mfG
<style type="text/css">
a:link { text-decoration:none; color:#999999;} a:visited { text-decoration:none; color:#999999;} a:hover { text-decoration:underline; color:FFCC00;} a:active { text-decoration:underline; color:#999999;} a:focus { text-decoration:blink; color:#FFCC00;} </style> Störtebeker |
Re: Link Dekoration [CSS??]
hi störtebeker,
das geht mit border:
Code:
ergibt eine rote gepunktete linie unter dem link
a:hover { border-bottom-style: dotted; border-bottom-width: 1px; border-bottom-color: #FF0000}
aeno |
Re: Link Dekoration [CSS??]
Hey, Danke. :thumb:
mfG Störtebeker |
Re: Link Dekoration [CSS??]
Fast perfekt.
Nun wird der Text nicht mehr mit gefärbt.
Delphi-Quellcode:
Wenn du das auch noch lösen konntest, wäre es perfekt.
<style type="text/css">
a:link { text-decoration:none; color:#999999;} a:visited { text-decoration:none; color:#999999;} a:hover {border-bottom-style: dotted; border-bottom-width: 1px; border-bottom-color:FFCC00; text-decoration:underline; color FFCC00;} a:active { text-decoration:underline; color:#999999;} a:focus { text-decoration:blink; color:#FFCC00;} </style> mfG Störtebeker |
Re: Link Dekoration [CSS??]
Wenn man sich den Quelltext ansieht, stößt man auf folgendes CSS (ich hoffe, ich habe das richtige erwischt):
![]() |
Re: Link Dekoration [CSS??]
du hast nen kleinen tippfheler drinn.
du musst es so machen: color: #FFCC00; also du hast den doppelpunkt vergessen, dann sollte es eigentlich gehen ;) //edit: teil vom satz vergessen ;) |
Re: Link Dekoration [CSS??]
Danke an euch alle, es war wirklih der fehlende Doppelpunkt nach color, ABER auch das fehldene # vor dem Farbcode.
THX. mfg Störtebeker |
Alle Zeitangaben in WEZ +1. Es ist jetzt 02:27 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz