Discuss CSS measurements in the CSS Help forum on Dev Shed. CSS measurements Cascading Style Sheets (CSS) forum discussing all levels of CSS, including CSS1, CSS2 and CSS Positioning. CSS provides a robust way of applying standardized design concepts to your web pages.
Posts: 83
Time spent in forums: 3 m 39 sec
Reputation Power: 13
CSS measurements
Is there any way to make CSS measurements according to the size of the fonts or something like that ?
I have a frame around a javascript drawed menu and if the size of the font in that computer gets to big (because he presed the magnifying font button or because he/she has a real browser and seted the minimum/standard size of the fonts to something bigger because it's using a high resolution) parts of the text are drawed outside the frame.
Thank you.
Posts: 492
Time spent in forums: 2 h 1 m
Reputation Power: 12
Yes,if you set it to EM which is relative to the font size.So if you change the font size,everything changes size too.http://home.planet.nl/~andje000/ has a good example of this (try changing the font size).