Log in

View Full Version : 2 things I can't figure out.



robin9000
03-12-2009, 08:53 PM
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.

Snookerman
03-12-2009, 08:59 PM
It should be:

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

Good luck!

robin9000
03-12-2009, 09:06 PM
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.