Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS CSS background color disappears when ad image

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #25141
    nasa
    Member

    Hi,

    here is a sample of the CSS involved, i’ve set the background color with CSS & then want to have an image in the top right corner, but when i ad the image the CSS color disappears & i’m left with plain white. Is there something i can do to stop this from happening?

    #page-wrap {
    background-color: #333333;
    width: 100%;
    margin: 0 0 0 0px;
    padding: 15 15 15 15px;
    border-width: 1px;
    border-style: solid;
    border-color: grey;
    background: url(images/air.jpg) no-repeat right top;

    }

    #59038
    apostrophe
    Participant

    This is how I would write it:

    Code:
    #page-wrap {
    background: #333 url(images/air.jpg) no-repeat right top;
    width: 100%;
    margin: 0;
    padding: 15px;
    border: 1px solid grey;
    }

    Do you have a link?

    #59047
    nasa
    Member

    Hi,

    i fixed issue thanks, i figured since the CSS is it’s own property, i would need to embed the image through html & it worked fine, got flash embeded + video exactly the same way :D

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.