Stránka: 1 z 1
| [ Príspevkov: 7 ] | |
Autor | Správa |
---|
Registrovaný: 25.02.07 Prihlásený: 16.02.16 Príspevky: 876 Témy: 144 | 144 |
Ako mam urobit to ze ak napr mam v CSS kod:
Kód: .txt5 {color: #8ad4ff; font-family: "Arial"; font-weight: bold; font-size: 12px;}
tak aby ak pouzijem na pismo to txt5 tak aj odkaz bol tej farby 8ad4ff aku mam udanu v txt5
|
|
Registrovaný: 30.05.06 Prihlásený: 08.10.14 Príspevky: 1756 Témy: 35 | 35 Bydlisko: BA - WESTSIDE |
Neviem, či som ťa správne pochopil, ale skús to takto:
Kód: .txt5, .txt5 a:link { color: #8ad4ff; font-family: "Arial"; font-weight: bold; font-size: 12px; }
A ešte si nastav iné farebné odtiene pre a:visited, a:hover, a:active.
_________________
A. S. Tanenbaum píše: The terms LF, MF, and HF refer to low, medium, and high frequency, respectively. Clearly, when the names were assigned, nobody expected to go above 10 MHz, so the higher bands were later named the Very, Ultra, Super, Extremely, and Tremendously High Frequency bands. Beyond that there are no names, but Incredibly, Astonishingly, and Prodigiously high frequency (IHF, AHF, and PHF) would sound nice. |
|
Registrovaný: 25.02.07 Prihlásený: 16.02.16 Príspevky: 876 Témy: 144 | 144 |
nie nejde mi to takto.
este raz pre lepsie pochopenie.
v CSS na sodku mam napisane
Kód: a {text-decoration: none} a:link {color: #000000} a:visited {color: #000000} a:active {color: #000000} a:hover {color: #66ff33; text-decoration: none} a {text-decoration: none} to preto aby kazdy link bol taky ako mam v tom kode. ale treba mi nejaku vynimku aby ak dam nieco do Kód: <span class="[b]txt5[/b] "> Odkaz na stranu </span>
tak aby ten odkaz nemal vseobecnu farbu aka je nastavena v prvom kode, ale aka je nastavena v tom txt5
|
|
Registrovaný: 30.05.06 Prihlásený: 08.10.14 Príspevky: 1756 Témy: 35 | 35 Bydlisko: BA - WESTSIDE |
A ten odkaz bude zanorený v tom spane, alebo priradíš tomu odkazu triedu txt5?
_________________
A. S. Tanenbaum píše: The terms LF, MF, and HF refer to low, medium, and high frequency, respectively. Clearly, when the names were assigned, nobody expected to go above 10 MHz, so the higher bands were later named the Very, Ultra, Super, Extremely, and Tremendously High Frequency bands. Beyond that there are no names, but Incredibly, Astonishingly, and Prodigiously high frequency (IHF, AHF, and PHF) would sound nice. |
|
Registrovaný: 25.02.07 Prihlásený: 16.02.16 Príspevky: 876 Témy: 144 | 144 |
Konkretne to mam takto:
Kód: <span class="txt" style="position: absolute; left: 20; top: 90; "> Aktuálna verzia ICQ je už šiesta v poradí. Stiahnúť sa dá na oficiálnom webe ICQ.com v ENG ale aj v českej verzii. </span> <br /> <span class="txt2" style="position: absolute; left: 20; top: 120; "> <a href="http://ftp.icq.com/pub/ICQ6/install_atlas_icq6.exe">Stiahnúť ICQ 6 - česká verzia</a> <br />
<a href="http://ftp.icq.com/pub/ICQ6/Install_ICQ6.exe">Stiahnúť ICQ 6 - anglická verzia</a> </span> <span class="txt5" style="position: absolute; left: 20; top: 155 "> <a href="/clanky/icq_6.php">[b]Čítaj viac ...[/b]</a> </span>
To tmavsie vyznacene chcem tak, aby ak pridam span txt5, aby odkaz bol inej farby ako co mam predvolene pre linky. Nie vsetky odkazy ale len to tmavsie vyznacene. To TXT5 xem len na tu vetu Citajte viac ...
|
|
Registrovaný: 30.05.06 Prihlásený: 08.10.14 Príspevky: 1756 Témy: 35 | 35 Bydlisko: BA - WESTSIDE |
Tak do CSS daj toto a povedz, akú ti to nakreslilo farbu:
Kód: .txt5 { color: #8ad4ff; font-family: "Arial"; font-weight: bold; font-size: 12px; } .txt5 a:link { color: red; } .txt5 a:visited { color: blue; } .txt5 a:hover { color: green; } .txt5 a:active { color: yellow; }
_________________
A. S. Tanenbaum píše: The terms LF, MF, and HF refer to low, medium, and high frequency, respectively. Clearly, when the names were assigned, nobody expected to go above 10 MHz, so the higher bands were later named the Very, Ultra, Super, Extremely, and Tremendously High Frequency bands. Beyond that there are no names, but Incredibly, Astonishingly, and Prodigiously high frequency (IHF, AHF, and PHF) would sound nice. |
|
Registrovaný: 25.02.07 Prihlásený: 16.02.16 Príspevky: 876 Témy: 144 | 144 |
dik toto ide. tamto som asi zle pochopil a zapisal
|
|
Stránka: 1 z 1
| [ Príspevkov: 7 ] | |
Podobné témy | Témy | Odpovede | Zobrazenia | Posledný príspevok |
---|
| v HTML, XHTML, XML, CSS | 2 | 670 | 05.04.2009 23:44 kesaj | | v HTML, XHTML, XML, CSS | 3 | 566 | 29.07.2009 14:22 myxall | | v Modifikácie, návody a projekty | 2 | 1593 | 13.05.2008 17:17 tommy1104 | | v JavaScript, VBScript, Ajax | 2 | 467 | 11.04.2015 20:27 weroro | | v Operačné systémy Microsoft | 7 | 508 | 02.02.2009 17:10 Dudko | | v HTML, XHTML, XML, CSS | 4 | 533 | 18.08.2016 20:02 chrono | | v HTML, XHTML, XML, CSS | 1 | 548 | 18.06.2010 10:19 don jebot | | v Antivíry a antispywary | 15 | 1706 | 28.03.2007 14:35 BUBU1 | | v HTML, XHTML, XML, CSS | 15 | 1295 | 18.12.2008 14:44 jablko05 | | v PHP, ASP | 2 | 366 | 19.11.2011 18:35 Han5vk | | v HTML, XHTML, XML, CSS | 4 | 1254 | 03.06.2008 21:45 dadmtb | | v HTML, XHTML, XML, CSS | 10 | 780 | 15.07.2010 22:09 shaggy | | v Operačné systémy Microsoft | 0 | 338 | 17.09.2014 8:50 cd4 | | v HTML, XHTML, XML, CSS | 7 | 527 | 17.04.2009 9:46 mokus | | v HTML, XHTML, XML, CSS | 1 | 709 | 22.01.2007 10:35 exot | | v HTML, XHTML, XML, CSS | 3 | 571 | 20.04.2009 23:13 jurov |
|