Skip to main content

firefox + css 2020 Responses

Last post: 7 years, 7 months ago | Thread started: Oct 8, 05, 6:34 p.m.

RespondNew TopicDisable Images

  • doesnotexist

    i have some elements that have images as the background instead of colors, and theyre not showing up at all. like the whole element is just gone.

    help, please?

    danke!

    Oct 8, 05, 6:34 p.m. – Permalink
  • doesnotexist

    anyone?

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earOct 8, 05, 9:05 p.m. – Permalink
  • welded

    I'm not sure if it applies to tables, but I've run into weirdness with body backgrounds and css. I find that Firefox doesn't like shorthand syntax so apply the background-image seperately from the background-repeat, etc.

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earOct 8, 05, 10:19 p.m. – Permalink
  • doesnotexist

    yeah, but this is a background image for an element, like say, .banner that is positioned absolute somewhere at like 600x130, just doesnt show at all in firefox.

    this isnt a background for the entire page

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earOct 8, 05, 10:23 p.m. – Permalink
  • heavyt

    FF has no problem with shorthand.
    IS there a height and width set for the element?

    code?

    TR1

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earOct 8, 05, 10:41 p.m. – Permalink
  • welded

    Maybe it's a syntax error, but I must be constantly doing it, but it's been my experience. :\

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earOct 8, 05, 11:16 p.m. – Permalink
  • heavyt

    actually, the other day i had a similar problem. It ended up being that i had no space between the ")" and "repeat-y" rules.

    TR1

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earOct 9, 05, 8:50 a.m. – Permalink
  • doesnotexist

    hmmm nah i dont think you guys are understanding clear enough...here is teh code:

    http://www.DNEexists.com/michael… go to root folder to see the html.

    i changed it a bit, but it's still not showing up, the color banner above everything and the logo on the left. all that's showing is text in firefox.

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earOct 9, 05, 9:24 a.m. – Permalink
  • nRIK

    should be bg2.jpg, not bg2.jp

    the image tag is not closed.

    and your span.logo, isnt being styled at all in the css (display: block, etc)

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earOct 9, 05, 9:58 a.m. – Permalink
  • nRIK

    oh and as for the banner i think you dont need that negative z-index there

    use a div maybe instead of a span, or display banner as a block.

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earOct 9, 05, 10:03 a.m. – Permalink
  • -scarabin-

    what's the difference between a div and a span?

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earOct 9, 05, 10:04 a.m. – Permalink
  • monNom

    I don't see a single background-image declaration in your css. maybe you changed it since posting?

    I don't think FF likes empty tags.
    try adding an NBSP inside "banner".

    Scarabin:

    Span displays in-line. you can have it within a passage of text and it will not affect the text flow. (eg. 'a href')

    Div displays block like a paragraph or table. A block that follows a block in the code will wrap to the next line unless a width and float are set.

    Divs are for high-level structure. Spans are for in-text
    styling.

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earOct 9, 05, 10:33 a.m. – Permalink
  • -scarabin-

    oh i see

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earOct 9, 05, 10:34 a.m. – Permalink
  • doesnotexist

    not the background of the page, b-r-rro's, like ive been saying.

    the logo is on the pate, i can see it in ie and safari.

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earOct 9, 05, 11:34 a.m. – Permalink
  • doesnotexist

    i know the background is bg2.jp, i did that on purpose so it wouldnt show up.

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earOct 9, 05, 11:44 a.m. – Permalink
  • spiralstarez

    Do you have the developer toolbar?

    I take the z-index out of your style and the logo shows up for me.

    BTW your code looks pretty damn messy. get yourself a validator tool as well and that will solve a lot of your probs.

    I've got 50 warnings on your page

    for starters you've got 2 opening body tags.

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earOct 9, 05, 12:10 p.m. – Permalink
  • welded

    spiralstarez is right on all counts.

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earOct 9, 05, 12:29 p.m. – Permalink
  • doesnotexist

    yeah, never used a developer tool, mostly just do everything myself. probably should look into that.

    thanks for the help, i was beginningn to think it might be the z-index. word.

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earOct 9, 05, 12:31 p.m. – Permalink
  • spiralstarez

    no probs man.

    google mozilla developer extensions and download developer toolbar, and a validator extension.

    if you want to develop in CSS those are great tools (along with a good CSS book)

    If you develop in standards compliance in Firefox FIRST, your site will look good in FF. It's IE that's F'd, but there are hacks for things that don't work in it.

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earOct 9, 05, 12:40 p.m. – Permalink
  • doesnotexist

    yeah, i havent used firefox in awhile, like safari on teh mac better.

    guess ill have to d/l a copy and get that developer toolbar i had once again. and that validator.

    been just wingin' css so far, should get a book fo' sho'.

    word.

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earOct 9, 05, 12:48 p.m. – Permalink
  • nRIK

    rofl

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earOct 9, 05, 9:09 p.m. – Permalink

Login or Register to respond to this

Skip to main content