Jaffer: Here's the thing. EM's are related to the base font, so if u said 2m & the size was 12, then the font would be 24. If the size was 18 originally, it'd be 36--u get the picture. The reason why it's preferable to specify the size in Em's as opposed to pixels is that pixels are absolute. EM's, obviously, are relative. So, if u specify x pixels, that's not negotiable, & it can make a difference if some1's viewing your page w/a 1024 resolution as opposed to a cell phone. Hope that clarifies? On 4/21/08, Octavian Rasnita <orasnita@xxxxxxxxx> wrote: > As far as I know the ems are used only for specifying the size of the text, > and 1em is equal to the base font size of the page. > > Octavian > > ----- Original Message ----- > From: <jaffar@xxxxxxxxxxxxx> > To: <programmingblind@xxxxxxxxxxxxx> > Sent: Tuesday, April 22, 2008 6:49 AM > Subject: Pixels and Ems > > > Hi All. I need some answers concerning the difference between pixels and > ems. Is the preference for modern browsers to measure say, font-size in ems > rather than pixels a universal rule? What would say, 2ems be equivalent > too in pixels? Are ems just used in font or text sizes or can i use it to > style other elements such as margins or borders? Better still, if i could > be pointed to a good tutorial on this, I'll be very grateful. Cheers! > > __________ > View the list's information and change your settings at > //www.freelists.org/list/programmingblind > > -- Jackie McBride Please join my fight against breast cancer <http://teamacs.acsevents.org/site/TR?px=1790196&pg=personal&fr_id=3489> & Check out my homepage at: www.abletec.serverheaven.net __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind