Solved

CSS em example

Posted on 2010-11-29
5
549 Views
Last Modified: 2012-05-10
Hi,

I was reading like


Use a Combination of Percent and Em

The solution that works in all browsers, is to set a default font-size in percent for the body element:



I have not understood the meaning.

Does em introduced to resolve IE issues. How the combination helps. Any ideas, links, source code, resources highly appreciated. Thanks in advance
0
Comment
Question by:gudii9
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 9

Accepted Solution

by:
cb1393 earned 300 total points
ID: 34236443
I don't know if this covers everything, but check out the comments (not the solution) I posted for the following question:

http://www.experts-exchange.com/Web_Development/Miscellaneous/Q_23213153.html
0
 
LVL 7

Author Comment

by:gudii9
ID: 34240748
hmm i read comments. I still did not get the answer to my question.please advise
0
 
LVL 8

Assisted Solution

by:Zado
Zado earned 200 total points
ID: 34249739
With combination of ems and percents you can create very 'elastic layouts'.
Check this out to understand em and percent usage:
http://css-discuss.incutio.com/wiki/Using_Ems#Ems_with_Percents
0
 
LVL 8

Expert Comment

by:Zado
ID: 34317456
Please grant the points and close the question, thanks :-)
0
 
LVL 8

Expert Comment

by:Zado
ID: 34384857
To be clear here: I'm not asking for grant the points to me, but generally.
If you have a problem with any suggestion from experts or nothing works with your expectation, please let us know, so we will continue work on solution for you, thanks.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
CSS auto-height of empty div 3 71
center div inside another div 2 32
Sticking text to shapes in Raphael.js 6 41
In wordpress, how did they do that? 3 15
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question