I am hoping someone can help me. I have a CSS that works fine in IE 6/7 but won't work in FF. I have been told its impossible to fix. I can't believe that is true. Here is my code: body {margin-top: 0px; margin-left: 0px;} .outertablearea { background-color: #FFFFFF; position: absolute; top: 30px; left: 52px } I know that the position: absolute will not work in FF but there has to be an alternative. Any ideas?
Hmm, then something else is wrong, because: <html> <head> <style type="text/css"> <!-- body { margin: 0; } .outertablearea { background-color: #FFFFFF; position: absolute; top: 30px; left: 52px } --> </style> </head> <body> <table class="outertablearea"> <tr><td>Table, yes?</td></tr> </table> </body> </html> HTML: Does work like it should. The table is located a little way from the top and left.
I agree that doing the above works when working with html. I guess I should have clarified myself. Sorry. I have a CSS file that is attached to a html file. Within the HTML file is a table definition that centers the table. I need to over ride that def with a CSS file as I am not allowed to edit the html within my system. Sorry again for not being clear. I am really frustrated with this.
Can you give us the exact url of the html, and the css files, because as I see they should work exactely.
Here are the urls http://purchase.tickets.com/buy/TicketPurchase?agency=BRITISHLIB&organ_val=25385 (html file - can't be changed) http://frontline.images.tickets.com/images/privatelabel/../../styles/privatelabel/britlibrary__style2.css (css file that can be changed) Thanks
Try this: background-color: #FFFFFF !important; position: absolute !important; top: 30px !important; left: 52px !important;
Telling the truth it looks the same in FF, than in ie for me. Of course there is some pixel difference, but it is a general phenomenon.
Indeed, I just checked that myself as welll(duh! should have done it first thing) and the page looks pretty much identical in IE and FF...
Thanks for the info. It does look fine unless you have a 19inch wide screen. but the problem is resolved.