E-mail List Archives
Re: Resize Text - rem with a px fallback
From: Alistair Duggin
Date: Jun 25, 2014 8:28AM
- Next message: Chagnon | PubCom: "Re: Word to PDF conversation has tags for images appearing at the top of the PDF tag tree"
- Previous message: Karlen Communications: "Re: Word to PDF conversation has tags for images appearing at the top of the PDF tag tree"
- Next message in Thread: Tim Harshbarger: "Re: Resize Text - rem with a px fallback"
- Previous message in Thread: Jukka K. Korpela: "Re: Resize Text - rem with a px fallback"
- View all messages in this Thread
> The only thing that you can possibly gain by using rem instead of em is ease of authoring
Exactly, thats why we are using rem. Ease of authoring and maintainability are very important on a large code base. That is why the rem unit was added in the CSS3 specification.
On 25 Jun 2014, at 13:38, Jukka K. Korpela < <EMAIL REMOVED> > wrote:
> 2014-06-25 13:26, Alistair Duggin wrote:
>
>> Im working on a responsive website and to set the size of the fonts
>> we are using rem with a fallback in px.
>
> Use the em unit and you won't need a "fallback in px" (which is not really a fallback but switches to something completely different).
>
> The only thing that you can possibly gain by using rem instead of em is ease of authoring: you need not calculate multipliers, taking into account the nesting of elements that may have their font sizes set in em or percentage. But when you need to consider "fallbacks", authoring becomes more complicated.
>
>> Im wondering if text not being resizable in some legacy browsers
>> would result in a WCAG 2 fail.
>
> Does it matter? It is surely an accessibility problem, possibly a minor one, but completely unnecessary in this case.
>
> Yucca
> > >
- Next message: Chagnon | PubCom: "Re: Word to PDF conversation has tags for images appearing at the top of the PDF tag tree"
- Previous message: Karlen Communications: "Re: Word to PDF conversation has tags for images appearing at the top of the PDF tag tree"
- Next message in Thread: Tim Harshbarger: "Re: Resize Text - rem with a px fallback"
- Previous message in Thread: Jukka K. Korpela: "Re: Resize Text - rem with a px fallback"
- View all messages in this Thread