SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    Now with customized title Jump's Avatar
    Join Date
    Sep 2002
    Location
    The Restaurant at The End of The Universe
    Posts
    1,423
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Aligning and image with CSS?

    I allready have a fixed and repeating image for my background on a page. Can CSS let me use another fixed but non repeating image? I want to fix another background image to the right side middle.

  2. #2
    SitePoint Wizard
    Join Date
    Nov 2000
    Location
    Chico, Ca
    Posts
    1,125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, I am not use if this is the right way to do it, but I throw the background images in divsions and then place the division anywhere I want on the page.
    "Happiness doesn't find you, you find happiness" -- Unknown
    www.chuckknows.com

  3. #3
    SitePoint Evangelist S7even's Avatar
    Join Date
    Jun 2002
    Posts
    481
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i believe you can only have one background image for each element. Therefore you will need to put the second image in a div.

  4. #4
    Now with customized title Jump's Avatar
    Join Date
    Sep 2002
    Location
    The Restaurant at The End of The Universe
    Posts
    1,423
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sounds great. um, how do I do it?

  5. #5
    ********* Streaker Lister14's Avatar
    Join Date
    Jun 2002
    Location
    C:\Documents and Settings\Desktop\Recycle Bin
    Posts
    677
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <head>
    <Style Type="text/css">
    <!--
    #background2 {margin: 20px, 80px, 0px, 200px;}
    -->
    </head>

    <body>
    <div id="background2">
    <img src="image.gif">
    </div>
    </body>



    ...for example...
    roy.lu
    C:\DOS... C:\DOS\RUN... RUN\DOS\RUN...!


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
  •