SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    John 8:24 JREAM's Avatar
    Join Date
    Sep 2007
    Location
    Florida
    Posts
    1,508
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Style Sheet Won't Apply in FF

    I don't know what I am doing wrong here, I spent 30 minutes trying to figure it out

    http://jream.com/1_temp_d/menu.php

    If you look in Firefox nothing is centered and the text isn't formatted.

    This is all the CSS code for that part
    Code:
    #content .menu td {
        font: 14px 'Trebuchet MS', sans-serif;
    }
    
    .c {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
    .price {
        font: 14px Georgia, "Times New Roman", Times, serif;
    }

  2. #2
    John 8:24 JREAM's Avatar
    Join Date
    Sep 2007
    Location
    Florida
    Posts
    1,508
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've also tried:
    table.menu tr td {font: 14px 'Trebuchet MS', sans-serif;}
    table.menu td {font: 14px 'Trebuchet MS', sans-serif;}
    .menu table td {font: 14px 'Trebuchet MS', sans-serif;}

  3. #3
    John 8:24 JREAM's Avatar
    Join Date
    Sep 2007
    Location
    Florida
    Posts
    1,508
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Man this is the 2nd time i did this, I had an open character in the css
    I thought my css validator would catch it as an error with the icon
    it was because of:

    example {
    stuff: value;
    }
    / <--- just a slash

    sorry for the troubles

  4. #4
    SitePoint Wizard ryanhellyer's Avatar
    Join Date
    Oct 2006
    Location
    New Zealand
    Posts
    2,323
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by JREAM View Post
    sorry for the troubles
    No problem.

    Thanks for letting us know. There is nothing worse than people not posting back when they find a fix, then telling you they'd fixed it hours before you posted a solution for them!


Bookmarks

Posting Permissions

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