vabole Posted December 18, 2006 Report Share Posted December 18, 2006 Lieta tāda. Ir nodefinēti linki pa lapas sadaļām. Navigācijā, blokā, kājenē u.t.m.l. Bet viss prieks izbojājās ar IE ... Tālāk nācās izmantot link="", alink="" u.c. Bet par cik link="", alink="" u.c. ir izmantojams tikai pie body, tad sanāk, ka tagad visi linki ir pilnīgi vienādi. Tātad, ko pie velna lai dara? Link to comment Share on other sites More sharing options...
Grey_Wolf Posted December 18, 2006 Report Share Posted December 18, 2006 vabole --> kas par murgiem??? .links1, a.links1,a.links1:active ,a.links1:link ,a .links1:visited { font-size:15px; color:#FF0000; BACKGROUND-COLOR: transparent; FONT-FAMILY: Arial, Helvetica, sans-serif; text-decoration:none; font-weight:bold; } a.links1:hover{ font-size:15px; color:#00FF00; BACKGROUND-COLOR: transparent; FONT-FAMILY: Arial, Helvetica, sans-serif; text-decoration:none; font-weight:bold; } .links2, a.links2,a.links2:active ,a.links2:link ,a .links2:visited { font-size:15px; color:#FF00FF; BACKGROUND-COLOR: transparent; FONT-FAMILY: Arial, Helvetica, sans-serif; text-decoration:none; font-weight:bold; } a.links2:hover{ font-size:15px; color:#00FFFF; BACKGROUND-COLOR: transparent; FONT-FAMILY: Arial, Helvetica, sans-serif; text-decoration:none; font-weight:bold; } un pie linka <a href="bla.php" class="links1">mana lapa</a> <a href="bla2.php" class="links2">mana 2 lapa</a> Link to comment Share on other sites More sharing options...
Delfins Posted December 18, 2006 Report Share Posted December 18, 2006 CSS Link to comment Share on other sites More sharing options...
andrisp Posted December 18, 2006 Report Share Posted December 18, 2006 Tam ir domāts css. Piem: <style> div#head a { color: orange; } div#head a:active { color: red; } /* u.t.t. arī pārējiem div */ </style> <div id="head"> <a href="#">Links</a> </div> <div id="body"> <a href="#">Links</a> </div> <div id="foot"> <a href="#">Links</a> </div> Link to comment Share on other sites More sharing options...
Recommended Posts