E-mail List Archives
Re: Web Developer CSS Question
From: Swift, Daniel P.
Date: Jan 16, 2018 12:33PM
- Next message: JP Jamous: "Re: Web Developer CSS Question"
- Previous message: Jared: "Re: Web Developer CSS Question"
- Next message in Thread: JP Jamous: "Re: Web Developer CSS Question"
- Previous message in Thread: Jared: "Re: Web Developer CSS Question"
- View all messages in this Thread
We use em units for font-size and percentages for widths of containing elements. My understanding for ems on containers is that the width will grow as the text grows. So if you have a container and you want to maintain the text layout, then ems would be more appropriate. If screen layout is more important and you don't have a preference for when the text wraps to the next line, then using percentages for the container is more appropriate ... at least, that's my understanding.
I hope that makes sense!
Dan Swift
Senior Web Specialist
Enterprise Services
West Chester University
610.738.0589
- Next message: JP Jamous: "Re: Web Developer CSS Question"
- Previous message: Jared: "Re: Web Developer CSS Question"
- Next message in Thread: JP Jamous: "Re: Web Developer CSS Question"
- Previous message in Thread: Jared: "Re: Web Developer CSS Question"
- View all messages in this Thread