User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 429,994 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,413 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 1183 | Replies: 7
Reply
Join Date: Apr 2008
Posts: 22
Reputation: Borderline is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 1
Borderline Borderline is offline Offline
Newbie Poster

Body Background Issue

  #1  
Jun 13th, 2008
http://www.further-flight.co.uk/index_20080613.php

I would like the background to appear underneath the horizontal menu on this page. My code currently looks like this:

HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script src="/style/equalcolumns.js" type="text/javascript"></script> 
<link rel="stylesheet" type="text/css" href="http://www.further-flight.co.uk/style/20080613.css"/>
<title>FURTHER FLIGHT</title>
</head>

<body>

	<?php include($_SERVER['DOCUMENT_ROOT'].'/style/mainmenu.php');?>


</body>
</html>

CSS:
body {
background: url("/media/background.gif") repeat fixed 0px 50px;
}

Suspect it's a simple fix - could anyone point me in the right direction, please?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2007
Posts: 2,565
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 115
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: Body Background Issue

  #2  
Jun 14th, 2008
background-color: transparent;
Daylight-saving time uses more gasoline
Reply With Quote  
Join Date: Apr 2008
Posts: 22
Reputation: Borderline is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 1
Borderline Borderline is offline Offline
Newbie Poster

Re: Body Background Issue

  #3  
Jun 15th, 2008
I'm afraid that's not corrected the problem.
Reply With Quote  
Join Date: Jan 2007
Posts: 2,565
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 115
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: Body Background Issue

  #4  
Jun 19th, 2008
Are you applying it to the body, or to the objects within the body. It must be applied to all of the objects you want to see the background through.

Note that it doesn't work with form text boxes.
Daylight-saving time uses more gasoline
Reply With Quote  
Join Date: Apr 2008
Posts: 22
Reputation: Borderline is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 1
Borderline Borderline is offline Offline
Newbie Poster

Re: Body Background Issue

  #5  
Jun 20th, 2008
I want the background of the vertical menu to begin at the bottom of the horizontal one.

http://www.further-flight.co.uk/index_20080613.php
Reply With Quote  
Join Date: Jun 2008
Posts: 16
Reputation: icorey has a little shameless behaviour in the past 
Rep Power: 0
Solved Threads: 3
icorey icorey is offline Offline
Newbie Poster

Re: Body Background Issue

  #6  
Jun 22nd, 2008
just redo your background image
there should be 8px of white to match the padding, 10px of dark green because of the borders, 147 of the lighter green, and another 10 of the dark green

you have 10px of white, not 8
Reply With Quote  
Join Date: Apr 2008
Posts: 22
Reputation: Borderline is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 1
Borderline Borderline is offline Offline
Newbie Poster

Re: Body Background Issue

  #7  
Jun 22nd, 2008
The background would still be positioned incorrectly, surely? It's the vertical alignment that is causing the issue.
Reply With Quote  
Join Date: Jan 2007
Posts: 2,565
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 115
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: Body Background Issue

  #8  
Jun 27th, 2008
Try using two divs, with a background image in each one.
Daylight-saving time uses more gasoline
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb HTML and CSS Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 12:48 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC