Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Apr 2003
    Location
    Seoul, Korea
    Posts
    329
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Making this style work in FireFox(part2)

    Code:
     <style>
    .50{font-size:50px}
    </style>
    
    <table>
    <tr><td class='50'>abcd</td></tr>
    </table>
    The font size of "abcd" is 50px in IE6, but isn't in FireFox.

    How can I make the font size of "abcd" 50px in FireFox?
    Last edited by joonstar; 08-16-2005 at 02:56 AM.
    Get my greedy up

  • #2
    Regular Coder
    Join Date
    Sep 2004
    Posts
    347
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I believe that you can't start a class or id with a number.
    This works:
    Code:
    <style type="text/css">
    .fifty{font-size:50px}
    </style>
    
    <table>
    <tr><td class="fifty">abcd</td></tr>
    </table>


  •  

    Posting Permissions

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