Integrating a current image into the background

Discussion in 'CSS' started by blueparukia, Aug 16, 2007.

  1. #1
    Well, I am trying to recode a site, so everything is easy to use.

    The site is http://bezdredge.net

    As you will notice there is a big backgound image. The source for it:

    
    <div id="container">
    <img src="m%5F111a.gif" alt="" align="top" border="0" width="100%" height="745" style="position: absolute; left: 0px; top: 77px; width: 100%; height: 745px; z-index: 0" />
    Code (markup):
    (The end of the div is towards the bottom, you have to view source)

    <img src="m%5F111a.gif" alt="" align="top" border="0" width="100%" height="745" style="position: absolute; left: 0px; top: 77px; width: 100%; height: 745px; z-index: 0" />
    
    
    <img src="back%201.jpg" alt="" align="top" border="0" width="1101" height="140" style="position: absolute; left: 0px; top: 0px; width: 100%; height: 140px; z-index: 1" />
    Code (markup):

    I want these two as CSS background images, I am too scared to do it myself, as the code is very fragile....


    And obviously, I want it to look the same, but with those two as background images, I will be able to add stuff on top of them without meddling with z-index

    I know they will have to be the bacground of separate <divs>.

    Hopefully it won't be too hard :D


    Thanks.

    BP
     
    blueparukia, Aug 16, 2007 IP
  2. nwk

    nwk Well-Known Member

    Messages:
    385
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    158
    #2
    Your site's down..I'll check it out when it's up.. Also when u say about the two images.. how do you want them to align..the second image just below the first one..
     
    nwk, Aug 16, 2007 IP
  3. blueparukia

    blueparukia Well-Known Member

    Messages:
    1,564
    Likes Received:
    71
    Best Answers:
    7
    Trophy Points:
    160
    #3
    The site seems to be up....

    And yeah, I want it the other way (1st image below second, I think) amazingly. I am recoding this for a friend, and he is only a beginner, and I am intermediate...

    BP
     
    blueparukia, Aug 16, 2007 IP