Results 1 to 3 of 3

Thread: 2 things I can't figure out.

  1. #1
    Join Date
    Feb 2009
    Posts
    159
    Thanks
    60
    Thanked 3 Times in 3 Posts

    Default 2 things I can't figure out.

    first problem. O so I think it is but could just be me so I basicly need someone else to tell me if they are exsperinceing it too.

    the site I am working on the pages are now being pushed to the left side of the screen in Fire fox. The thing that is wired is it's not doing this in IE.

    Secound problem. This is where it should be simple but just is'nt.

    My tables don't want to obey the logical use of CSS.

    Here is my code:

    table {
    margin:0px, auto;
    padding: 10px;
    border-spacing:10px;}

    I know that should apply it to everything for every table right? but it's not working. The only thing that works is if I apply it to every individual cell, not exactly a productive way to do things but just to prove it I did up a page with this code:
    #table1{margin:0px, auto;
    padding: 10px;
    border-spacing:10px;
    }

    and applied it to every cell, the page it can be viewed on is:
    http://www.marie-joe.110mb.com/specials.php
    The rest of the pages are great examples of how it dose not work with the first bit of css when I try to apply it to all the tables.

    Why dose it have to be so complicated sometimes.

    Thanks for any help.
    Computer repairs and Photo editing http://www.robinsden.com

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    It should be:
    Code:
    margin: 0 auto;
    and it only works if the element you give it to has a specified width.

    Good luck!

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

    robin9000 (03-12-2009)

  4. #3
    Join Date
    Feb 2009
    Posts
    159
    Thanks
    60
    Thanked 3 Times in 3 Posts

    Default

    It seems to work in fire fox now after making the change you you said but not in IE. the pizza menu is a great example to really see how it's still not working because the pricing is really close together. compare it to the firefox, you will see the difference.
    Last edited by robin9000; 03-12-2009 at 09:22 PM.
    Computer repairs and Photo editing http://www.robinsden.com

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
  •