Forums

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

Home Forums CSS 2 background images at the same time?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #23069
    brianatlarge
    Member

    I would like to put two background images on the page where they display at the same time. I have an image that is to stay at the top left corner of the page, and one that stays at the bottom right corner of the page. So far I can only do either one or the other.

    I’ve tried several different methods, but these don’t work. Here’s what I have so far:

    Code:
    body
    {
    font-family: Helvetica, Arial, Verdana, sans-serif;
    font-size:12px;
    }

    .back1
    {
    background:url(images/back.jpg);
    background-position: left top;
    background-repeat:no-repeat;
    }

    .back2
    {
    background:url(images/back2.jpg);
    background-position: right bottom;
    background-repeat:no-repeat;
    }

    Is this possible?

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