Results 1 to 6 of 6

Thread: static text (same size in every config)

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2001
    Location
    Germany, BW
    Posts
    157

    static text (same size in every config)

    hi,
    how can i make the text in a html document static, so the text won't change his size, even if the user changes the Font-size
    under "VIEW" to Big, or Large, .. ?

    is there some code for it?
    Old enough to know better,
    but young enough to don't give a ****!

  2. #2
    Addicted Member
    Join Date
    Jul 2002
    Location
    Brussels, Belgium
    Posts
    139
    use a style with a specific font-size
    e.g

    <font style="FONT-SIZE: 10pt">test</font>

  3. #3
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    Yep although I would add a couple of things: You should try not to do that as what if someone has a visual imparement and can't read your site, it's not fair to them to stop them from making the text bigger. And also if you're going to use <font> you may as well use <span>, as I'm pretty sure font is dead in XHTML, or is at least deprecated.

  4. #4
    Fanatic Member punkpie_uk's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    645
    it's deprecated in HTML 4
    SPREAD THE WORD!!! Are You Lee McCormick? Because I Am



    Lee M McCormick
    [email protected]

    Lee McCormick.com - Live
    Dynamically Webbed.com - In development but live

  5. #5
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    Ah right, and dead in XHTML?

  6. #6
    Fanatic Member punkpie_uk's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    645
    yep
    SPREAD THE WORD!!! Are You Lee McCormick? Because I Am



    Lee M McCormick
    [email protected]

    Lee McCormick.com - Live
    Dynamically Webbed.com - In development but live

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width