SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Member
    Join Date
    Nov 2009
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy Background image css not showing in some browsers....

    Here is one of the pages in question:
    http://www.metricmotorsauto.com/sonoma-auto-repair.html

    An image that consists of a stack of photos should show up under the left hand menu (with gray background). It shows up correctly in some browsers but not others: some Chrome versions, some Firefox, newer IE works, but not others, where the top of the image just starts to show at the bottom of the column.

    The image does show up correctly in all browsers in the column under "Gas Mileage". So it is some kind of problem with the coding of the column in the html.

    I used the same set up that I did on another site, and that site works fine cross browsers:
    http://curryspaconsulting.com/newsite/spa-planning.html

    Here is the CSS code:

    .picstrip {
    background-color: #A0A3A3;
    background-image: url(assets/picstrip.jpg);
    background-repeat: repeat-x;
    background-position: left top;
    }

    Thoughts? Thank you so much in advance....

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,207
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    There's no .picstrip element anywhere near the left menu, although there is one in the midst of the content on the right. You might need to explain further, but I also recommend you wean yourself off those tables, as the web has long moved on from this practice.

  3. #3
    SitePoint Member
    Join Date
    Nov 2009
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You are right; I have not taken the time to leave tables behind.... Have.to.do.it.

    But the picstrip element is there at line 177:
    <td width="198" align="left" valign="top" class="picstrip">&nbsp;</td>
    Can't figure out why it wants to work in the column under Gas Mileage, but not here.

    Even the background color behind the pics doesn't show....

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,207
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    You have it inside a tr that follows the tr containing the left and right content. So it just needs to be moved.

  5. #5
    SitePoint Member
    Join Date
    Nov 2009
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Bear with me, Ralph. I swear I'm worth it.

    Move it where? Are you looking at line 177?

    I just removed the other picstrip reference so there is no confusion.

  6. #6
    SitePoint Member
    Join Date
    Nov 2009
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can delete this thread. I kind of get it. Doing it another way. Thanks again, very much.


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
  •