PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Sat Dec 20, 2014 10:18 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sat May 12, 2012 11:00 am 
Offline
Forum Newbie

Joined: Mon Mar 21, 2011 1:28 pm
Posts: 21
I’m trying to build a background on my website and I am having trouble with the way I have the CSS set up. You can see what I have built so far here.

http://www.webskillsplus.com/packwood/index.php

Take a look at the attached image and you can see what I am trying to accomplish. I would like a red bar to run horizontally behind the page.

I tried messing with the z index with an absolute position but I couldn’t get it to work.

I tried doing the following and it isn’t working either.

Code:
html {
   background: #ccc url(../img/dice_slice.jpg);
   background-repeat: repeat-y;
}
body {
   margin: 0;
   background-color: #b87431;
   background-image: url(../img/massageservices.jpg);
   background-position:center;
   background-repeat: no-repeat;
}


Anyone have any ideas? Thanks in advance for your help.


Attachments:
Screen shot 2012-05-12 at 10.48.36 AM.png
Screen shot 2012-05-12 at 10.48.36 AM.png [ 972.97 KiB | Viewed 541 times ]
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group