SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Member
    Join Date
    Jul 2008
    Location
    central Texas
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    background image cut off in Firefox

    Hi guys,

    I have a background image that is showing correctly in IE, but is cut off at the bottom in Firefox. I tried assigning a height, but it applied it to the container, not the image. I'd appreciate if someone could tell me what I'm doing wrong...as usual...lol

    I'm too new to post a url but but here is the stylesheet code: (it cuts off like the bottom 50 pixels of a 416 pixel deep image.

    <code>
    #container {
    margin: 0px auto;
    width: 800px;
    text-align: left;
    border: 2px solid #104D8C;
    background-color: #ffffff;
    background-image: url(../images/stem-banner.jpg);
    background-repeat: no-repeat;
    background-position: left top;
    z-index:1;
    }
    </code>

    thanks, as always, Kathy :O

  2. #2
    Ripe Tomatos silver trophybronze trophy Rayzur's Avatar
    Join Date
    Jun 2007
    Location
    Texas
    Posts
    4,174
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Hi Kathy, welcome to sitepoint!

    I'm too new to post a url
    If you have a working url, go ahead and just type it in. We can paste it into our browsers.

    We would rather see a live site than partial code, If I don't get a chance to look at it someone else will.

  3. #3
    SitePoint Member
    Join Date
    Jul 2008
    Location
    central Texas
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it won't let me type the whole thing, but after the www dot

    cordonline.net/worksite

  4. #4
    SitePoint Member
    Join Date
    Jul 2008
    Location
    central Texas
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)


    I hate to leave a question unanswered in case it can help someone else.

    here is the solution I received:

    csscreator.com/node/30925

    it had to do with my footer not clearing, thanks!

  5. #5
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,556
    Mentioned
    183 Post(s)
    Tagged
    6 Thread(s)
    Glad you got it sorted but sorry we didn't get there first

    (BTW If you have posted the same question in a few forums then its generally good etiquette to mention this at the start of the post )

  6. #6
    SitePoint Member
    Join Date
    Jul 2008
    Location
    central Texas
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    sorry for my lack of cyber etiquette, I will make sure to do that in the future. I usually can find my answers in other's questions, but I noticed that all the forums were pretty slow this week and I kinda panicked I guess.

    You guys are so kind about helping us newbies out, it's always greatly appreciated.

    thanks, Kathy

  7. #7
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,556
    Mentioned
    183 Post(s)
    Tagged
    6 Thread(s)
    sorry for my lack of cyber etiquette,
    No problems - hopefully we'll be quicker off the mark next time


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
  •