Body Background Issue

Reply

Join Date: Apr 2008
Posts: 39
Reputation: Borderline is an unknown quantity at this point 
Solved Threads: 1
Borderline Borderline is offline Offline
Light Poster

Body Background Issue

 
0
  #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:
HTML and CSS Syntax (Toggle Plain Text)
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  4.  
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  7. <script src="/style/equalcolumns.js" type="text/javascript"></script>
  8. <link rel="stylesheet" type="text/css" href="http://www.further-flight.co.uk/style/20080613.css"/>
  9. <title>FURTHER FLIGHT</title>
  10. </head>
  11.  
  12. <body>
  13.  
  14. <?php include($_SERVER['DOCUMENT_ROOT'].'/style/mainmenu.php');?>
  15.  
  16.  
  17. </body>
  18. </html>

CSS:
HTML and CSS Syntax (Toggle Plain Text)
  1. body {
  2. background: url("/media/background.gif") repeat fixed 0px 50px;
  3. }

Suspect it's a simple fix - could anyone point me in the right direction, please?
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,203
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 164
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: Body Background Issue

 
0
  #2
Jun 14th, 2008
background-color: transparent;
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 39
Reputation: Borderline is an unknown quantity at this point 
Solved Threads: 1
Borderline Borderline is offline Offline
Light Poster

Re: Body Background Issue

 
0
  #3
Jun 15th, 2008
I'm afraid that's not corrected the problem.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,203
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 164
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: Body Background Issue

 
0
  #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 Quick reply to this message  
Join Date: Apr 2008
Posts: 39
Reputation: Borderline is an unknown quantity at this point 
Solved Threads: 1
Borderline Borderline is offline Offline
Light Poster

Re: Body Background Issue

 
0
  #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 Quick reply to this message  
Join Date: Jun 2008
Posts: 16
Reputation: icorey has a little shameless behaviour in the past 
Solved Threads: 3
icorey icorey is offline Offline
Newbie Poster

Re: Body Background Issue

 
0
  #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 Quick reply to this message  
Join Date: Apr 2008
Posts: 39
Reputation: Borderline is an unknown quantity at this point 
Solved Threads: 1
Borderline Borderline is offline Offline
Light Poster

Re: Body Background Issue

 
0
  #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 Quick reply to this message  
Join Date: Jan 2007
Posts: 3,203
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 164
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: Body Background Issue

 
0
  #8
Jun 28th, 2008
Try using two divs, with a background image in each one.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC