Jump to content

Two backgrounds


iJoseph

Recommended Posts

Hey, I'm not that good with CSS, and even dreamweaver can't help me.

 

I'm trying to get two backgrounds to show at the same time, but for one to overlay the other.

 

I have one, for the whole background, and another that goes in the middle on the y axis

 

I have tryed:

 

<style type="text/css">
background-image: www.mysite.com/images/bg.gif;

background-image: www.mysite.com/images/bg2.gif;
</style>

And...

<style type="text/css">
background-image: www.mysite.com/images/bg.gif;
</style>
<body background="www.mysite.com/images/bg2.gif">

 

But it's not working. Can anybody help me?

I'm 13 by the way :)

Link to comment
https://forums.phpfreaks.com/topic/201049-two-backgrounds/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.