How to cut this space ?

Discussion in 'HTML & Website Design' started by malikwiki, Dec 29, 2008.

  1. #1
    Hello..(carparts.yourproducts.net) is my my website and I am having a problem is that there is space coming in the top of the header and right and left side..Please review and tell me how to cut this space..thanks
     
    malikwiki, Dec 29, 2008 IP
  2. WebCatch

    WebCatch Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hey,

    I've just had a quick look at your source code and notice it's still using tables. You'd be much better off (and have a lot more control over positioning) if you were to rewrite the site using css stylesheets.

    that way you can control the layout using divs. if you've not used css before there are a great number of tutorials online, just type css tutorial into google.

    If you need any tips drop me a message.

    edit...
    oh and the space is showing as it's looking for an image which doesn't seem to be there, it shows as grey as the table cell has been set with a grey background.
     
    WebCatch, Dec 29, 2008 IP
  3. 9450184

    9450184 Peon

    Messages:
    30
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hello,
    It is easy to fix your problem with some css. Include this code into your page, in the head section.

    <style type="text/css">
    
    body {
    margin: 0;
    }
    
    </style>
    HTML:
    Good luck!
     
    9450184, Dec 29, 2008 IP