Thread: css (mozilla)

    #1
  1. Only the strong survives!!.
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Feb 2003
    Location
    A World of wonders.
    Posts
    5,583
    Rep Power
    407

    css (mozilla)


    is there away for me to make css work in mozila? I have this for IE but when i view the site in mozilla/netscape then the tables and etc are all out of place

    Code:
    .10w {
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    	font-size: 10px;
    	color: #FFFFFF;
    	font-weight: normal;
    
    }
    .10wB {
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    	font-size: 10px;
    	font-weight: bold;
    	color: #FFFFFF;
    }
    .10b {
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    	font-size: 10px;
    	color: #000000;
    }
    does anyone knows how to make it work?
    Last edited by xlordt; February 4th, 2004 at 12:35 PM.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    May 2003
    Posts
    1,014
    Rep Power
    15
    I don't see any style rules that could cause tables to go out of place. Any url?

    The names of your posted CSS classes are invalid. CSS classes are not allowed to start with a number.

    From http://www.w3.org/TR/CSS2/syndata.html:
    In CSS2, identifiers (including element names, classes, and IDs in selectors) can contain only the characters [A-Za-z0-9] and ISO 10646 characters 161 and higher, plus the hyphen (-); they cannot start with a hyphen or a digit.
    Hope this helps,
    Jeroen
  4. #3
  5. Only the strong survives!!.
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Feb 2003
    Location
    A World of wonders.
    Posts
    5,583
    Rep Power
    407
    yes if you go to .. www.teamcoders.com and view it in IE it looks good.. but if you view it in mozilla then its out of place
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    May 2003
    Posts
    1,014
    Rep Power
    15
    The names of your posted CSS classes are invalid. CSS classes are not allowed to start with a number.
    Change them!
    Mozilla follows this rule, and won't display the elements with the 'wrong' class names.

    Jeroen
  8. #5
  9. Only the strong survives!!.
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Feb 2003
    Location
    A World of wonders.
    Posts
    5,583
    Rep Power
    407
    ok thanx i will try it out

IMN logo majestic logo threadwatch logo seochat tools logo