Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: HTML table problem in MySpace
10-15-2009, 12:40 AM #1
- Join Date
- Oct 2009
- Thanked 0 Times in 0 Posts
HTML table problem in MySpace
I'm new, so hi im also just starting out with learning html code
I have a problem with html tables. Im working on a myspace layout for my band. the table layout looks great in IE but not in Firefox. i can give you a link to the page
and even the coding if you need to see it
The problem is that i have two tables under two different <div> classes. both div calsses are set the same, that are set to an absolute position, a left margin of -400px (each table is 800px in width) and a left positioning of 50%. the only difference is the second one has a margin at the top of 942px. In IE, this works fine, but in firefox, the table is halfway off the page on the left hand side unless i change the margin to 105%.
please help me.
10-15-2009, 01:38 AM #2
- Join Date
- Oct 2005
- Thanked 61 Times in 60 Posts
myspace is a coding nightmare. The problem will always be with IE, too, since you probably used IE to initially mark it up. Your page doesn't have a doctype, normal for myspace, but this puts IE into 'quirks mode' and it will never attempt to act like more modern browsers, like Firefox or anything else.
To get your page to work correctly in all the modern browsers, it's always best to use them to initially design and test your page. Then look to see if IE stumbles into doing something correctly. It would be easier to fix old, clunky, inept IE rather than trying to make bad code work in the better browsers.
But myspace is still a coding nightmare. For example, your page has 297 html errors alone. And 96 CSS errors. Now all that from a very simple page that could be done in under 100 lines of markup yet yours has something over a thousand.