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

How to stop text being resized.. a la www.board.ie homepage?

  • 01-05-2001 2:52pm
    #1
    Registered Users, Registered Users 2 Posts: 450 ✭✭


    Lo laeds..
    Im attempting to stop my text from being resized on a web page, exactly the same way as its non resizable on the boards.ie home page (ie if you go to the homepage and attempt to View > Text Size > Largest in IE5 the text wont resize). At first i thought it had something to do with the way boards.ie is loaded as a frame.. but ive had no luck.. in dire need of help here lads.. ALL HELP is HUGELY appreciated! smile.gif



    "LOSE me.. Hate me.. SMASH me..
    ERASE me.. KILL me.."

    nine inch nails - eraser

    |Chief|...


Comments

  • Registered Users, Registered Users 2 Posts: 12,309 ✭✭✭✭Bard


    Define your pages using style sheets and set the fonts to pixel sizes rather than point or relative (xx-small, large, etc.) sizes.

    e.g.:
    p {  font-family: "Times New Roman", Times, serif; font-size: 12px; color: #000000}
    

    sorry I can't give a more complete answer (kinda rushed right now) - learn CSS!


  • Registered Users, Registered Users 2 Posts: 21,264 ✭✭✭✭Hobbes


    Of course your really breaking a standard. It should be up to the browser to display it. What if that person had bad eyesight?


  • Moderators, Music Moderators, Recreation & Hobbies Moderators Posts: 9,389 Mod ✭✭✭✭Lenny


    Then maybe that would be a hint for them to get glasses tongue.gif


  • Registered Users, Registered Users 2 Posts: 4,676 ✭✭✭Gavin


    Aye, he's right. It's pants webdesign.

    Gav


  • Registered Users, Registered Users 2 Posts: 12,309 ✭✭✭✭Bard


    While I agree, it IS bad web design, and you should be able to leave the font size, as much as possible, up to the user, - setting a fixed pixel size in a style sheet is the answer to Chief's question, afaik.

    I'm short-sighted myself and a lot of tiny fonts on the web annoy the hell outta me. Hence I now use Opera quite a bit as the zooming feature on it is excellent. Would be nice to have THAT in IE.

    Bard
    "We do know it was we who scorched the sky..."


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 1,982 ✭✭✭ObeyGiant


    It isn't "pants" web design. The w3c's paper on "The Accessibility Features of CSS" http://www.w3.org/TR/CSS-access talks about User Override of Styles in CSS2, using the !important operator. Almost every browser supports this. The only trouble with specifying a non-relative size is the fact that not every browser on every platform will display it well, especially if you go down into the lower sizes. This is easily fixed, however, with a small bit of javascript. See http://www.linux.ie for an example of the javascript.


  • Registered Users, Registered Users 2 Posts: 1,684 ✭✭✭Kraken


    <font face="Verdana, Arial" size="2">Originally posted by ObeyGiant:
    It isn't "pants" web design. The w3c's paper on "The Accessibility Features of CSS" http://www.w3.org/TR/CSS-access talks about User Override of Styles in CSS2, using the !important operator. Almost every browser supports this. The only trouble with specifying a non-relative size is the fact that not every browser on every platform will display it well, especially if you go down into the lower sizes. This is easily fixed, however, with a small bit of javascript. See http://www.linux.ie for an example of the javascript.</font>

    I was just about to say that


Advertisement