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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Css

  • 18-09-2003 3: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, Registered Users 2 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, Registered Users 2 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, Registered Users 2 Posts: 2,281 ✭✭✭DeadBankClerk


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


Advertisement