I am making CSS voice bubbles, and I fit the text to the bubbles using em to set the text size, but now when I zoom in the text changes size too and it overflows out of the bubble. I don't want to set the text size with 开发者_如何学JAVApx because I want it to be cross-browser accessible, so is there a way to make it so the text doesn't scale itself to always fit the screen?
i think you should use % instead of em.
here is the article http://kyleschaeffer.com/best-practices/css-font-size-em-vs-px-vs-pt-vs/
精彩评论