1 reply [Last post]
tsmith
Offline
newbie
Last seen: 15 years 47 weeks ago
Joined: 2004-08-11
Posts: 1
Points: 0

Here is what I have as a test

my CSS page has

body {
	margin: 4px 0px;
	padding: 0px;
	background-color: #000000;
}

.header		{
		background-image: url(images/back.gif);
		background-repeat: repeat-x;
		height:197px
		width:100%;
		margin-top :0px;
		}

and my header page that I want to include in all of my pages looks like this for now

<div class="header">
      <img src="images/logos.gif" width="750" height="197">
</div>

I want the logos.gif image to sit in the upper left and the back.gif image to repeat behind it so it looks seamless. I thought this would be a super easy task but right now, with the above code all I get is the logos.gif and no back.gif image. My path to image is correct.

I even commented out the logos.gif just so I had a blank canvas and nothing.

Thanks for any help on this.

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 15 weeks 5 days ago
Joined: 2004-06-30
Posts: 9668
Points: 801

Repeating bg header problem

Could you possibly point us to an online page? That code looks like it should work.

Are you using the correct doctype?

Verschwindende wrote:
  • CSS doesn't make pies