#1
  1. No Profile Picture
    Give peace a chance.
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2000
    Location
    Buenos Aires, Argentina
    Posts
    83
    Rep Power
    15

    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.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2002
    Location
    Inside the GNU/Hurd kernel
    Posts
    492
    Rep Power
    13
    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).
  4. #3
  5. No Profile Picture
    Give peace a chance.
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2000
    Location
    Buenos Aires, Argentina
    Posts
    83
    Rep Power
    15

    Question documentation


    Do you know any good documentation on using em and % units on CSS ?

IMN logo majestic logo threadwatch logo seochat tools logo