![]() |
CSS-Problem
Hi,
habe ne externe css-datei, in der für verschiedene bereiche der hp eigene typen deklariert sind
Delphi-Quellcode:
jetzt würde ich gerne die verschiedenen link zustände farblich abändern, aber weder per html lokal;
[...]
#MyMainContent { background-color:#FFFFFF; border:2px solid #000000; margin-bottom:10px; margin-left:10px; margin-right:10px; margin-top:10px; text-align:center; vertical-align:top; } [...]
Delphi-Quellcode:
noch global per css;
link=#0000cc vlink=#551a8b alink=#ff0000
Delphi-Quellcode:
könnt ihr mir verraten, wie ich das in die obere klasse einbaun kann???
a:link
{ color:#EE0000; text-decoration:none; font-weight:bold; } google und selfhtml haben mir nicht weitergeholfen :wall: MfG tn249 |
Re: CSS-Problem
Hi,
probiere es mal hiermit:
Code:
Gute Nacht.
<span class="meineCSSKlasse">
mein Text </span> André |
Re: CSS-Problem
Du kannst eine Linkdefinition nur auf die Id beziehen:
Code:
MfG Pr0g
#MyMainContent /* alles in #MyMainContent */
{ background-color:#FFFFFF; border:2px solid #000000; margin-bottom:10px; margin-left:10px; margin-right:10px; margin-top:10px; text-align:center; vertical-align:top; } #MyMainContent a:link /* nur Links in #MyMainContent */ { color:#EE0000; text-decoration:none; font-weight:bold; } |
Re: CSS-Problem
Zitat:
vielen dank MfG tn249 |
Alle Zeitangaben in WEZ +1. Es ist jetzt 09:30 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