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
Povećanje/smanjivanje teksta

 
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 -> Kritike i pohvale
View previous topic :: View next topic  
Author Message
red



Joined: 03 May 2004
Posts: 919
Location: Zabok

PostPosted: 22.05.2004 16:42    Post subject: Povećanje/smanjivanje teksta Add user to your forum ignore list Reply with quote

Hej, nekaj ne štima s mojim IE-om Very Happy
Probam ja povećat text sajz ođe na forumu, i uspjelo mi Smile Ošo ja vidjet u CSS, kad tamo sve u pixelima... Think Question

How did you guys pull this off?
Back to top
View user's profile Send private message Visit poster's website Twitter profile
red



Joined: 03 May 2004
Posts: 919
Location: Zabok

PostPosted: 25.05.2004 19:54    Post subject: Add user to your forum ignore list Reply with quote

Kaj, tajna? Smile
Back to top
View user's profile Send private message Visit poster's website Twitter profile
Phoenix
mi3.crew


Joined: 07 Sep 2003
Posts: 283
Location: Zgb

PostPosted: 25.05.2004 21:12    Post subject: Add user to your forum ignore list Reply with quote

only god knows Smile
Back to top
View user's profile Send private message Send e-mail
zytzagoo
mi3.crew


Joined: 25 Aug 2003
Posts: 1842
Location: Zagreb, Hrvatska

PostPosted: 26.05.2004 09:28    Post subject: Add user to your forum ignore list Reply with quote

Uz pomoc trikova Smile
Code:

body, body th.thHead, body th.catHead, body .gen, body .quote, body .postbody {
    font-size: xx-small;
    voice-family: "\"}\"";
    voice-family: inherit;
    font-size: 70%;
}

html>body, html>body th.thHead, html>body th.catHead, html>body .gen, html>body .quote, html>body .postbody {
    font-size: 70%;
}

Prvi blok je za IE, drugi blok je za normalne browsere koji kuze ove '>' selectore...
Pitaj ak treba objasnjenje neko Smile

_________________
[+]I[+]am[+]my[+]own[+]religion[+]
Back to top
View user's profile Send private message Visit poster's website Twitter profile
red



Joined: 03 May 2004
Posts: 919
Location: Zabok

PostPosted: 26.05.2004 20:04    Post subject: Add user to your forum ignore list Reply with quote

Uh, heh, prfo font-size: xx-small; onda 70% u prvom bloku? Eh? A kaj ovaj voice-family znachi?

Zakaj ne koristiti .em umjesto pixela?
Back to top
View user's profile Send private message Visit poster's website Twitter profile
zytzagoo
mi3.crew


Joined: 25 Aug 2003
Posts: 1842
Location: Zagreb, Hrvatska

PostPosted: 27.05.2004 11:09    Post subject: Add user to your forum ignore list Reply with quote

red wrote:
Uh, heh, prfo font-size: xx-small; onda 70% u prvom bloku? Eh?

Kaze, da bi font-size trebao biti xx-small, i normalni browseri to interpretiraju kako spada. Onda slijedi tantek hack kojim ulovimo bug u IE 5.0 i 5.5 i kod njih postavimo size na 70%, sto se metodom pokusaja i pogreske pokazalo kao ok velicina za te browsere Smile

Quote:
A kaj ovaj voice-family znachi?

http://tantek.com/CSS/Examples/boxmodelhack.html
Koristi se zato jer je to zapravo jako rijetko koristeno pravilo, i u ovom slucaju sluzi samo zato da bi triggeralo css parsing bug u IE5.0/Win i IE5.5/Win (objasnjeno detaljnije na linku gore)

Quote:
Zakaj ne koristiti .em umjesto pixela?

Hmmm.. Da budem iskren, probali smo, medjutim, razliciti browseri razlicito interpretiraju em-ove i njihovim koristenjem nismo dobili zeljene rezultate - a ovo s pixelima + postoci se pokazalo sasvim zadovoljavajuce Smile

_________________
[+]I[+]am[+]my[+]own[+]religion[+]
Back to top
View user's profile Send private message Visit poster's website Twitter profile
red



Joined: 03 May 2004
Posts: 919
Location: Zabok

PostPosted: 27.05.2004 19:58    Post subject: Add user to your forum ignore list Reply with quote

Ah, I see. Thanx, mister Smile
Back to top
View user's profile Send private message Visit poster's website Twitter profile
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 -> Kritike i pohvale 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