picky table style in firefox

Discussion in 'CSS' started by arb, Jun 18, 2007.

  1. #1
    Perhaps I'm completely missed something or another, but it seems that when I use either an external stylesheet or even within the .html document, certain column borders do not seem to appear, but when I set the style inline, all of them show up fine. This seems to be stemming from the nomenclature of the columns as renaming it something completely different renders correctly. I'm aware of the fact that IE does not even recognize the borders, but testing even this simple table in Safari (for Windows, if that makes any difference) both show up correctly. Any idea why this might be?

    Stylesheet in head
    http://www.tehend.org/test.html

    Inline stylesheet
    http://www.tehend.org/test2.html
     
    arb, Jun 18, 2007 IP
  2. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #2
    Hows about you use a DOCTYPE.
     
    soulscratch, Jun 18, 2007 IP
  3. arb

    arb Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    After setting a proper doctype, validating, and everything, it seems that the problem was that ids cannot begin with an integer. I would have validated earlier, but this example code was actually made of a snippet of a module which would combine to make an actual page, thus I just quickly tacked on even the other tags. Thanks for your help. May this be of use to someone else.
     
    arb, Jun 18, 2007 IP
  4. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #4
    That's right. IDs and classes cannot start with an integer. Only alpha-numeric characters are allowed, with the letters coming first.
     
    Dan Schulz, Jun 19, 2007 IP