View Full Version : Layering images


Kat1984
08-02-2003, 12:30 AM
I am using the <div></div> code to postion my background image but, when I want to layer other images, using the same code, the other image seems to push over to the side, causing my main image to not stay in postion...

lefty
08-02-2003, 03:43 AM
Mind posting a link to your page?

Kat1984
08-02-2003, 02:20 PM
No I don't mind. http://www.geocities.com/zebrazinger77/

lefty
08-02-2003, 02:28 PM
Random thing I just thought of... why are you using divs for your background image? Unless there's a reason for that, you should trying using css instead. Then positioning your other images won't be a problem. :)

Kat1984
08-02-2003, 02:48 PM
What would be the code for that?

lefty
08-02-2003, 02:50 PM
Check here:
http://www.lissaexplains.com/css.shtml

If you check out the sample stylesheet, there's all sorts of background stuff under the "body" heading.

Kat1984
08-02-2003, 03:05 PM
That's not excatly what I was looking for. It really isn't a background:

Like this: http://www.stargurl.net/hilary.html

But when I put images ontop, the screen goes over to side like so.... ah, I'm screwed.. lol