Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
dvaput isti css?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Client-side
View previous topic :: View next topic  
Author Message
blackshtef
mi3.crew


Joined: 14 Sep 2003
Posts: 661

PostPosted: 23.12.2003 19:19    Post subject: dvaput isti css? Add user to your forum ignore list Reply with quote

Hmm...problem

Imam .html file. On je podijeljen na dva dijela : izbornik i sadržaj. Oba su čisti text, nisu slike ili nešto drugo.

Sadržaj mora imati font verdana, size 10, boja crna. U slučaju da u textu ima nekakav link, link mora izgledati isto kao i text, s tim što mora imati sivu boju i biti boldan.

U izborniku su naravno sve linkovi, i njih sam u .css file-u definirao sa a:hover, a:active i a:link selektorima. Slova u izborniku moraju izgledati potpuno drugačije od slova, odnosno linkova u sadržaju. I sad, ako koristim a:-selektore, onda izbornik izgleda kako treba, ali se linkovi u sadržaju ne uklapaju u okolinu. Znači, može li se nekako nešto složiti da se na jednom .html file-u više puta koriste različiti a:-selektori?
Back to top
View user's profile Send private message Send e-mail MSN Messenger
che.UP
mi3.crew


Joined: 07 Sep 2003
Posts: 2320
Location: zagreb

PostPosted: 23.12.2003 20:15    Post subject: Add user to your forum ignore list Reply with quote

da, imas nekoliko nacina, tj 2 :)

link klase tekst1: <a class="tekst1" ...
i link u elementu klase tekst1: <nešto class="tekst1"> ... <a ...

Za prvi slučaj:
a.tekst1:link { }
a.tekst1:visited { }
a.tekst1:hover { }
a.tekst1:active { }

Za drugi slučaj:

.tekst1 a:link { }
.tekst1 a:visited { }
.tekst1 a:hover { }
.tekst1 a:active { }

_________________
UP | TypeTester | Accommodations App
Meni u Firefox-u ne radi AJAX
Back to top
View user's profile Send private message Visit poster's website
maxy



Joined: 07 Sep 2003
Posts: 894
Location: Zagreb

PostPosted: 23.12.2003 20:59    Post subject: Add user to your forum ignore list Reply with quote

ili
#text a:hover {
// tu sad style stavis
}
#text a:link {


itd.
onda samo potrpas u tablicu gdje ti stoje linkovi (ili layer) id = text
Back to top
View user's profile Send private message
blackshtef
mi3.crew


Joined: 14 Sep 2003
Posts: 661

PostPosted: 23.12.2003 21:35    Post subject: Add user to your forum ignore list Reply with quote

nema veze, riješen problem.
Hvala enivej!

Baš sad slušam od Colonie - Čestit Božić, pa eto da vam kažem šta Ira pjeva :

Čestit Božić dobrim ljudima i sretna nova, nova godina...
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Client-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group