Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2008
    Posts
    3
    Tokens
    0

    Default [HTML] Table Help

    I need a table to appear in the top left corner but I can't remember how! :S It's something like
    <table topmargin="0" leftmargin="0">
    but it isn't. AARGH! HELP ME!

  2. #2
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Default

    HTML Code:
    <style>
    table {
    margin: 0 auto;
    }
    </style>
    Surely that would work?

  3. #3
    Join Date
    Nov 2008
    Posts
    3
    Tokens
    0

    Default

    Quote Originally Posted by Jackboy View Post
    HTML Code:
    <style>
    table {
    margin: 0 auto;
    }
    </style>
    Surely that would work?
    still not working - any1 else?

  4. #4
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Default

    change table to body then?

  5. #5
    Join Date
    Dec 2006
    Posts
    3,970
    Tokens
    0

    Latest Awards:

    Default

    table {
    margin: 0px;
    }
    Lets set the stage on fire, and hollywood will be jealous.

  6. #6
    Join Date
    Feb 2007
    Location
    Essex, England
    Posts
    1,392
    Tokens
    0

    Latest Awards:

    Default

    Need to give the body margin and padding sa 0 too.

    Code:
    body {
    margin: 0;
    padding: 0;
    }
    table {
    margin: 0;
    top: 0;
    left: 0;
    }
    Last edited by L?KE; 11-11-2008 at 05:32 PM.


Posting Permissions

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