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
em vs. px - what's the catch?

 
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
jojo



Joined: 27 Jan 2005
Posts: 1591
Location: insula aurea

PostPosted: 24.11.2005 16:38    Post subject: em vs. px - what's the catch? Add user to your forum ignore list Reply with quote

Može li malo pojašnjenje o korištenju ovih mjernih jedinica kod određivanja visine i širine div-ova?
Da li bih korištenjem em-a umjesto pixela izbjegla razlike u prikazu FF-a i IE-a?

pitam, jer vidim da jedni koriste jedno, drugi drugo, a neki mješaju pa stavljaju width u px-ima a height u em-ima...

_________________
deviant / malomorgen / videoholik / cimer fraj
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
mile



Joined: 10 Sep 2003
Posts: 1327
Location: Jeruzalem

PostPosted: 24.11.2005 17:15    Post subject: Add user to your forum ignore list Reply with quote

http://www.mi3dot.org/forum/viewtopic.php?t=6672
Back to top
View user's profile Send private message Visit poster's website
Sulien



Joined: 04 Jan 2004
Posts: 2905
Location: Zagreb

PostPosted: 24.11.2005 18:32    Post subject: Add user to your forum ignore list Reply with quote

kad radiš osjetljivi pixel-perfect fixed-layout multi-column site onda ćeš širine i vodoravne paddinge i margine htjeti definirati u pixelima. em-ove uvijek koristi za okomito, pogotovo za margine i paddinge susjednih elementata sadržaja kao što su paragrafi, naslovi, liste i sl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jojo



Joined: 27 Jan 2005
Posts: 1591
Location: insula aurea

PostPosted: 25.11.2005 08:48    Post subject: Add user to your forum ignore list Reply with quote

@sulien - tako sam si nešto i pretpostavljala, hvala
§mile - bila sam sigurna da nitko prije mene nije bio tako 'pametan' da postavi ovakvo pitanje tako da nisam išla gledati stare topice, hvala na preusmjeravanju na pravo mjesto

_________________
deviant / malomorgen / videoholik / cimer fraj
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
mile



Joined: 10 Sep 2003
Posts: 1327
Location: Jeruzalem

PostPosted: 25.11.2005 10:04    Post subject: Add user to your forum ignore list Reply with quote

OK, ali nisam te mislio preusmjeriti na pravo mjesto Smile samo sam stavio link ako si ga propustila - tvoje pitanje je drukčije ali ti je Sulien sve rekao.
Back to top
View user's profile Send private message Visit poster's website
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