Results 1 to 3 of 3

Thread: Maybe a dumb question...

  1. #1
    Join Date
    Apr 2011
    Posts
    65
    Thanks
    15
    Thanked 0 Times in 0 Posts

    Default Maybe a dumb question...

    At the very top of my page is a table with some images and a menu in it. For some reason there is a space between the top of the page and the top of the table. Where it needs to be flesh with the top of the page. Not sure what is causing this. Here is an attachment of my code. This is driving me crazy and I am sure it is something simple that I am over looking or something like that!!

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    You should try with a standards compliant page, get rid of the highlighted:

    Code:
    <html>
    <head>
    <!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">
    
    
    <link rel="stylesheet" href="./style.css . . .
    And without seeing your stylesheets it's hard to tell. But including this rule set would normally do the trick:

    Code:
    html, body, table {
    	margin-top: 0;
    	padding-top: 0;
    }
    Put it at the end of the style.css file.

    If you want more help:

    Please post a link to a page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    chadlexmorgan (06-17-2011)

  4. #3
    Join Date
    Apr 2011
    Posts
    65
    Thanks
    15
    Thanked 0 Times in 0 Posts

    Default

    Thank you!!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •