AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Link Dekoration [CSS??]

Ein Thema von Störtebeker · begonnen am 24. Okt 2007 · letzter Beitrag vom 24. Okt 2007
Antwort Antwort
Benutzerbild von Störtebeker
Störtebeker

Registriert seit: 9. Jul 2007
398 Beiträge
 
#1

Link Dekoration [CSS??]

  Alt 24. Okt 2007, 09:31
Hi,

wenn man auf Microsoft.com geht und dort zum Beispiel auf CHANGE, dann wird CHANGE gelb/gold markiert und darunter taucht eine gepunktete Linie auf.

Nun ist meine Frage, wie bekomme ich diese gepunktete Linie hin?

Die momentane Dekoration der Links:
Delphi-Quellcode:
<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>
mfG
Störtebeker
"And he piled upon the whale´s white hump - a sum of all the rage and hate felt by his whole race.
If his chest had been a cannon, he would have shot his heart upon it."
  Mit Zitat antworten Zitat
Benutzerbild von Aenogym
Aenogym

Registriert seit: 7. Mär 2004
Ort: Schwerin
1.089 Beiträge
 
Delphi 7 Enterprise
 
#2

Re: Link Dekoration [CSS??]

  Alt 24. Okt 2007, 09:38
hi störtebeker,

das geht mit border:
Code:
a:hover { border-bottom-style: dotted; border-bottom-width: 1px; border-bottom-color: #FF0000}
ergibt eine rote gepunktete linie unter dem link

aeno
Steffen Rieke
Was nicht buzzt, wird buzzend gemacht!
http://blog.base-records.de
http://www.base-records.de
  Mit Zitat antworten Zitat
Benutzerbild von Störtebeker
Störtebeker

Registriert seit: 9. Jul 2007
398 Beiträge
 
#3

Re: Link Dekoration [CSS??]

  Alt 24. Okt 2007, 09:41
Hey, Danke.

mfG
Störtebeker
"And he piled upon the whale´s white hump - a sum of all the rage and hate felt by his whole race.
If his chest had been a cannon, he would have shot his heart upon it."
  Mit Zitat antworten Zitat
Benutzerbild von Störtebeker
Störtebeker

Registriert seit: 9. Jul 2007
398 Beiträge
 
#4

Re: Link Dekoration [CSS??]

  Alt 24. Okt 2007, 09:46
Fast perfekt.

Nun wird der Text nicht mehr mit gefärbt.

Delphi-Quellcode:
<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>
Wenn du das auch noch lösen konntest, wäre es perfekt.

mfG
Störtebeker
"And he piled upon the whale´s white hump - a sum of all the rage and hate felt by his whole race.
If his chest had been a cannon, he would have shot his heart upon it."
  Mit Zitat antworten Zitat
Benutzerbild von DeddyH
DeddyH

Registriert seit: 17. Sep 2006
Ort: Barchfeld
27.539 Beiträge
 
Delphi 11 Alexandria
 
#5

Re: Link Dekoration [CSS??]

  Alt 24. Okt 2007, 09:53
Wenn man sich den Quelltext ansieht, stößt man auf folgendes CSS (ich hoffe, ich habe das richtige erwischt):http://i2.microsoft.com/shared/core/1/css/lsp.css
Detlef
"Ich habe Angst vor dem Tag, an dem die Technologie unsere menschlichen Interaktionen übertrumpft. Die Welt wird eine Generation von Idioten bekommen." (Albert Einstein)
Dieser Tag ist längst gekommen
  Mit Zitat antworten Zitat
1ceman

Registriert seit: 16. Dez 2005
Ort: Odenthal
134 Beiträge
 
Delphi 6 Personal
 
#6

Re: Link Dekoration [CSS??]

  Alt 24. Okt 2007, 09:57
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
Roman
  Mit Zitat antworten Zitat
Benutzerbild von Störtebeker
Störtebeker

Registriert seit: 9. Jul 2007
398 Beiträge
 
#7

Re: Link Dekoration [CSS??]

  Alt 24. Okt 2007, 10:04
Danke an euch alle, es war wirklih der fehlende Doppelpunkt nach color, ABER auch das fehldene # vor dem Farbcode.

THX.

mfg
Störtebeker
"And he piled upon the whale´s white hump - a sum of all the rage and hate felt by his whole race.
If his chest had been a cannon, he would have shot his heart upon it."
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 02:52 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz