White space despite 100% width

Thread Solved

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

White space despite 100% width

 
0
  #1
Aug 20th, 2008
http://www.further-flight.co.uk/20080820index.php

How would I rid this design of the white space at the top and sides of the page? My code is set out as below:

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. <title>Further Flight</title>
  8. <link rel="stylesheet" type="text/css" href="http://www.further-flight.co.uk/style/20080820.css"/>
  9. </head>
  10.  
  11. <body>
  12.  
  13. <div id="secondary"><?php include($_SERVER['DOCUMENT_ROOT'].'/style/20080820_secondary.php');?></div>
  14. <div id="logo"><?php include($_SERVER['DOCUMENT_ROOT'].'/style/20080820_logo.php');?></div>
  15. <div id="navigation"><?php include($_SERVER['DOCUMENT_ROOT'].'/style/20080820_main.php');?></div>
  16.  
  17. </html></head></body>

CSS

HTML and CSS Syntax (Toggle Plain Text)
  1. #secondary{
  2. margin: 0px 0px 0px 0px;
  3. width: 100%;
  4. height: 15px;
  5. font-family: arial, verdana, sans-serif;
  6. font-size: 70%;
  7. background-color: #494949;
  8. padding: 5px 0px 5px 0px;
  9. }
  10.  
  11. #logo{
  12. margin: 0px 0px 0px 0px;
  13. width: 100%;
  14. height: 80px;
  15. font-family: arial, verdana, sans-serif;
  16. font-size: 80%;
  17. background-color: #000000;
  18. }
  19.  
  20. /*------ MAIN NAVIGATION ------*/
  21. /*Credits: Dynamic Drive CSS Library */
  22. /*URL: http://www.dynamicdrive.com/style/ */
  23.  
  24. .solidblockmenu{
  25. margin: 0;
  26. padding: 0;
  27. float: left;
  28. font: bold 13px Arial;
  29. width: 100%;
  30. overflow: hidden;
  31. margin-bottom: 1em;
  32. border: 1px solid #625e00;
  33. border-width: 1px 0;
  34. background: black url(/images/blockdefault.gif) center center repeat-x;
  35. }
  36.  
  37. .solidblockmenu li{
  38. display: inline;
  39. }
  40.  
  41. .solidblockmenu li a{
  42. float: left;
  43. color: white;
  44. padding: 9px 11px;
  45. text-decoration: none;
  46. border-right: 1px solid white;
  47. }
  48.  
  49. .solidblockmenu li a:visited{
  50. color: white;
  51. }
  52.  
  53. .solidblockmenu li a:hover, .solidblockmenu li .current{
  54. color: white;
  55. background: transparent url(/images/blockactive.gif) center center repeat-x;
  56. }

Any assistance would be greatly appreciated.
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 95
Reputation: omol is an unknown quantity at this point 
Solved Threads: 4
omol's Avatar
omol omol is offline Offline
Junior Poster in Training

Re: White space despite 100% width

 
0
  #2
Aug 21st, 2008
Ok first the logo, include this.

HTML and CSS Syntax (Toggle Plain Text)
  1. #logo {
  2. position: relative;
  3. top: -11px;
  4. left: -9px;
  5. }

The rest is the same problem, you should be able to see whats happening now? If not post back and i will explain.
Last edited by omol; Aug 21st, 2008 at 1:18 pm. Reason: Fudged up code tags
asm
{ "\x04f\x06d\x06f\x06c" }
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
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