That sounds like a good solution.  The primary reason we want to switch to 
EMS is for Accessibility and ability to enlarge text via browser's 
settings.  Will using % for structure be able to accomodate the growing 
size of the text accordingly if text is in ems? My understanding is that 
primary structure (like if I have a fixed size of a container in ems 
instead of pixels) will be able to adjust accordinly to text only if it is 
in EMS (elastic ?)  If it is in percentages , it will scale according to 
parent - which is a screen size for a container.  Therefore, I am still 
thinking to using EMS even for structural elements, and px for any static 
border, etc ....

I was thrown off by this article where pixels were described as a 
preferred method, so wasn;t sure...
Thanks to everyone!




Anya V.  Gerasimchuk
Web Designer, IT - Web Shared Services
UNIFI Information Technology 
[email protected]
(513) 595 -2391



<[email protected]> 
Sent by: [email protected]
07/20/2010 11:34 AM
Please respond to
[email protected]


To
<[email protected]>
cc

Subject
RE: [WSG] ems versus pixels






The basic plan that I follow is to use % for structural items, which 
generally need to be proportional to other structural items, and 
ultimately the viewport itself.
Then, pixels purely for borders and images,
And EMs only for text.

Margins and padding can be either pixels, EMs or % depending on the 
particular situation, ie whether you are using them as structural pieces, 
for text-indent, or for decoration.


My argument for this is that if a box has width:50% or 98% or something 
like that, it is immediately obvious when reading the CSS how big it 
should end up; not nearly so obvious with width:43em
At the other end of the scale, if you want a fine line, then what you 
really want is 1px, or 2px for medium etc, not 0.05em or 0.004%, 
particularly since the latter are more likely to be subject to rounding 
errors.

With text itself, it should then be obvious that EMs are the most 
appropriate - % may work in a very similar way, but there is plenty of 
scope for confusion with percentages used for structural elements.


As for page-zoom, everyone that I have ever heard comment on it, prefers 
text-zoom, myself included.

Regards,
Mike

*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
*******************************************************************


*******
This message may contain confidential information intended only
for the use of the addressee(s) named above and may contain
information that is legally privileged. If you are not the
addressee, or the person responsible for delivering it to the
addressee, you are hereby notified that reading, disseminating,
distributing or copying this message is strictly prohibited.  If you
have received this message by mistake, please immediately notify
us by replying to the message and delete the original message
immediately thereafter.  Thank you.
*******


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
*******************************************************************

Reply via email to