I am interested in converting all of the heights and widths of my site into ems. It is a little hard trying to understand the concept of it, and I have been using a px to em calculator. I am just wondering, when do I know what px side to calculate it from? Here is my example:
My body font size is 12px, so I started calculating heights and widths from that. This worked for a while, but my top nav was looking too small. I realized that my font size for my nav was actually 11px, so when I calculated from that it worked. So, should I always calculate the height width from the parent element? Or how does that rule work?
Also, I am having trouble getting an equivalent value for 1px in ems, what would that be?