SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Wizard
    Join Date
    Apr 2002
    Posts
    2,322
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    ff console warning about some css

    in the error console of firefox 2 mac for a page i'm doing which has some javascript on i'm getting:

    Warning: Error in parsing value for property 'display'. Declaration dropped.

    it's referring to some style in the head of the document. this line:

    display:inline-block;

    (even though there's 'display:-moz-inline-box;' just before that line -- the -moz line seems more dubious/substandard than the one it's picking out to me but anyway)

    is that a problem? it is a warning not an error but should i do something about it or is it ok? is it going to cause problems?

    thanks.

  2. #2
    We're from teh basements.
    Join Date
    Apr 2007
    Posts
    1,205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    inline-block isn't fully supported. Firefox doesn't understand it, so that's why it's complaining. Try this hack:

    http://foohack.com/2007/11/cross-bro...block-styling/

  3. #3
    SitePoint Member
    Join Date
    Aug 2008
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That not hack
    ok

  4. #4
    SitePoint Wizard
    Join Date
    Apr 2002
    Posts
    2,322
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Code:
    display:-moz-inline-box;
    display:inline-block;
    is what i've got. i now realise, i think, that the error and warning messages from that console are not solely javascript related. i didn't realise that. so this isn't at all a javascript question.

    my concern was that anything that causes something to appear in that console may mess something up in my javascript but i now realise it's not only javascript stuff that appears in that console.

    ok thanks.


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
  •