Css Links

Discussion in 'HTML & Website Design' started by FireElement, Jan 22, 2008.

  1. #1
    Hey,

    I was wondering is there away using css to make it so the text size does not increase when the user hits increase on the browser. I currently have some links on the following site www.kenjy.com.

    I want to make it so the links dont resize when the user increse or decrease text size. I dont want to use images and I would be thankful if some one could possible point out how to do it.

    Thanks in advance
    FireElement
     
    FireElement, Jan 22, 2008 IP
  2. twistedspikes

    twistedspikes Notable Member

    Messages:
    5,694
    Likes Received:
    293
    Best Answers:
    0
    Trophy Points:
    280
    #2
    Just setting a text-size on them should work as far as I remember.

    text-size:12pt;

    if not then try

    text-size:12pt !important;

    Although I wouldn't recomend doing this at all. Text increase/decrease is there for usability issues, people who can't see too well maybe, so it's not a good idea to restrict that.
     
    twistedspikes, Jan 22, 2008 IP
  3. FireElement

    FireElement Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I have a font-size. I dont use pt because it goes stupid size in IE and so I only use px. I tried !important; and that did not work.

    Any ideas on making them fixed would be great

    thanks
     
    FireElement, Jan 22, 2008 IP
  4. FireElement

    FireElement Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Oh I am only aiming to do it on the links at the top generally because it messes the layout up when there made to big. So we decided to make them fixed.
     
    FireElement, Jan 22, 2008 IP