SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Evangelist jimday1982's Avatar
    Join Date
    Sep 2002
    Location
    Atlanta, GA
    Posts
    562
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    left margin image?

    I was wondering if anyone knows if it's possible to use an image on JUST the left margin of my page using CSS. If not, what's the easiest way to do this? Thanks!
    Jimmy Day
    Senior Systems Analyst
    Piedmont Healthcare Corporation

  2. #2
    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)
    Hi,

    Not quite sure I understand the question really?

    You can use an image where you like! Just put it there lol.

    If you are talking about a background image you can place a repeating image on the body along the y-axis as follows.
    Code:
    body {
     background-color: #FFFFFF;
     background-image: url(image.gif);
     background-repeat: repeat-y;
     background-position: left top;
    }
    This will repeat an image down the left side of your page. I'm not quite sure if this is what you were after.

    Paul

  3. #3
    SitePoint Evangelist jimday1982's Avatar
    Join Date
    Sep 2002
    Location
    Atlanta, GA
    Posts
    562
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Paul O'B
    Hi,

    Not quite sure I understand the question really?

    You can use an image where you like! Just put it there lol.

    If you are talking about a background image you can place a repeating image on the body along the y-axis as follows.
    Code:
    body {
    background-color: #FFFFFF;
    background-image: url(image.gif);
    background-repeat: repeat-y;
    background-position: left top;
    }
    This will repeat an image down the left side of your page. I'm not quite sure if this is what you were after.

    Paul
    Perfect. Thank you!
    Jimmy Day
    Senior Systems Analyst
    Piedmont Healthcare Corporation


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
  •