|
|||
![]()
Ich suche verzweifelt nach einer Möglichkeit first-letter in einem Link einzubauen
also in dieser form: Code:
<style type="text/css"> <!-- .newshead, a:newshead { font-weight: bold; font-size: 14px; font-family: Verdana; text-decoration: none; line-height : 120%; color : #000000; } .newshead:first-letter, a:newshead:first-letter, p:newshead:first-letter { font-weight: bold; font-size: 17px; font-family: Verdana; text-decoration: none; line-height : 120%; color : #AE0000; } // --> </style> Code:
Text einzigster erfolg war den "Text" in einen tag zu knallen aber damit kommt dann mozilla nicht klar ![]() die Links werden von php durch zB forenbeiträge generiert daher kann ich den text nicht teilweise als link oder als "normalen" text schreiben kennt jemand eine Lösung? |
Sponsored Links |
|
|||
![]()
Alles halb so wild, gibt ja einfache Tricks.
<a href="x"> Text</p></a> Statt dem P kannst natürlich auch H oder Span Tags nehmen. ![]() Dieser Tipp wurde gesponsort vom einzig wahren HotSpot. ![]() |
Sponsored Links |
|
|||
![]()
Wie war das noch mit dem sauberen Code, HotSpot?
Inline-Elemente (z.B. a ) dürfen keine Blockelemente (z.B. p oder h) enthalten. http://www.htmlhelp.com/reference/html40/inline.html Erlaubte Möglichkeit: <span> benutzen. |
![]() |
Themen-Optionen | |
Ansicht | |
|
|
![]() |
||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
100% Höhe Problem im FF und im IE | mimii | CSS | 7 | 08.02.2008 16:55 |
Ständig wechselnde Bilder, Werbung | Vybsi | (X)HTML | 17 | 24.01.2008 23:00 |
Fehlerfreier Code? | _h4ze | CSS | 3 | 04.05.2006 21:31 |
Problem mit Hintergrund vom Sidebar! | Pumpkin | CSS | 2 | 01.04.2006 04:14 |
Link markieren bei Auswahl | Anonymous | CSS | 2 | 17.06.2003 14:32 |