The Lodge is members-only web design and development videos and live help. Log In or Sign Up.
I’ve added a style tag to a table and had a margin-left that appears on Chrome and FF but not on IE 9. I did the double margin-left with the second one having the “!important” and still it’s not applied.
We’d need to see the table in action. Do you have a link?
With the code you posted, it should not have a left margin in ANY browser, simply due to margin-left: 0 !important;.
margin-left: 0 !important;
May I first suggest you use div tags instead of tables and then CSS instead of inline CSS and old HTML that are deprecated.
If you choose to stick with the table you can still style it using CSS like so
margin:0 auto; /* centers it*/
border: 1px solid black;
This should solve your issues with multiple browsers. If it does not link us what you have :D.
@otc Why are you suggesting divs instead of a table?
How do you know he isn’t using a table properly?
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed