• Hi

    I am using a wrapper div to create a background image which spans both the sidebar and the main column… I have added to the index.php:

    <div id=”wrapper”>
    <div class=”maincolumn”> content </div>
    <div class=”sidebar”> sidebar content </div>
    </div>

    and then the following in the CSS:

    #wrapper{
    background: url(images/main_bg.png);
    background-repeat:repeat-y;
    }

    It works fine in Firefox and ie but the background image isnt showing up at all in Safari

    Has anybody got any ideas??

    thanks maxl23

Viewing 5 replies - 1 through 5 (of 5 total)
  • Your CSS is incorrect. Try:

    #wrapper{background: url(images/main_bg.png) repeat-y;

    Thread Starter maxl23

    (@maxl23)

    Hi Esmi

    It hasnt worked…? my main column and sidebar are both
    float:left; … could this have anything to do with it??

    thanks in advance max

    Typo. Should be:

    #wrapper{background: url(images/main_bg.png) repeat-y;}

    Posting a link to your site would also help.

    Thread Starter maxl23

    (@maxl23)

    Hi Esmi

    I had already added the “}”

    this is the site

    thanks for helping

    max

    You have some validation errors on your site – the most serious ones caused by the fact that you either have no footer.php file or it lacks at least 1 </div> as well as the closing </body></html> tags. That could well throw some browsers off.

    There are also errors in your theme’s stylesheets that need fixing.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘div wrapper background image does not show in Safari??’ is closed to new replies.