Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Css

Options
  • 18-09-2003 4:15pm
    #1
    Closed Accounts Posts: 6


    I am using CSS to set the height of text on my web page, for example for the menu the font is set to
    font: normal normal bold 11px/13px Verdana, Helvetica, Arial, sans;

    unfortunately when I go to View > Text Size > Largest the text does not resize. I think this is down to the size I have set in the CSS. Does anyone have a solution to this please?


Comments

  • Closed Accounts Posts: 304 ✭✭Zaltais


    Yeah, resizing text doesn't work when you set an absolute size in your CSS... To fix it you need to set a relative size in your CSS sheet - e.g. 80%

    This makes it very hard to get the *exact* size you're looking for though!


  • Registered Users Posts: 95 ✭✭fractal


    I think the w3 guidelines say you use.
    font-size: xx-small,x-small,small,medium,large,x-large,xx-large

    Just like the html font size="1,2,3,4,5" property.

    These are relative sizes and resize nicely for almost any browser...

    Netscape will actually scale absolute sized fonts. Hurrah!


  • Registered Users Posts: 410 ✭✭Drazhar


    he he he, W3 Guidelines, oh my, we all say we conform to them, but how many of us would subject our code to an audit of sorts.

    oh, and he's right ( fractal ) follow what he said


  • Registered Users Posts: 2,281 ✭✭✭DeadBankClerk


    You can also specify the font size in multiples of em or ex afaik.


Advertisement