tylerjca
09-17-2007, 03:38 AM
Hi,
I'm having problems with compatibility between IE6+ and FF. I've mostly been only focusing on IE6 because it's just plain works and I don't have to spend painstaking hours trying to figure out why my code won't work. I am only trying to get this all to work for a customer. Otherwise I wouldn't be concerned about it.
My current problem is:
1)
Centering an element. I realized a while back that many HTML tags were no longer "useable or proper" including <center> but it seems to be the only universal tag that works. I was doing some reading and apparently to center an item you must use margin: 0 auto. This works fine in FF, but does absolutely nothing worth the typing in IE6. So I revert to using text-align: center in the parent element, which works perfect in IE6+
2)
Floating an element to the left in IE6 is simple and pain-free, but in firefox, any elements surrounding the floating element seem to 'hide' behind it, rather than just simply show up *beside* it.
What am I doing wrong? Should I just completely forget about ever doing web design forever? Or just sign the petition to have FF banned? J/K, there probably isn't a petition...
By the way, I'm sure there's a ton of ppl that would probably argue that FF is better. Which is weird because I have asked around and nobody I've asked have ever used Firefox, or those who have, don't like it. Is there some sort of conspiracy going on in the web design world that I'm not aware of?
Anyways, sorry for the rant I'm just overly frustrated with this and my laptop is really warm on the legs haha. But I would greatly appreciate any help.
Thanks to anyone willing to help me out! :thumbsup:
I'm having problems with compatibility between IE6+ and FF. I've mostly been only focusing on IE6 because it's just plain works and I don't have to spend painstaking hours trying to figure out why my code won't work. I am only trying to get this all to work for a customer. Otherwise I wouldn't be concerned about it.
My current problem is:
1)
Centering an element. I realized a while back that many HTML tags were no longer "useable or proper" including <center> but it seems to be the only universal tag that works. I was doing some reading and apparently to center an item you must use margin: 0 auto. This works fine in FF, but does absolutely nothing worth the typing in IE6. So I revert to using text-align: center in the parent element, which works perfect in IE6+
2)
Floating an element to the left in IE6 is simple and pain-free, but in firefox, any elements surrounding the floating element seem to 'hide' behind it, rather than just simply show up *beside* it.
What am I doing wrong? Should I just completely forget about ever doing web design forever? Or just sign the petition to have FF banned? J/K, there probably isn't a petition...
By the way, I'm sure there's a ton of ppl that would probably argue that FF is better. Which is weird because I have asked around and nobody I've asked have ever used Firefox, or those who have, don't like it. Is there some sort of conspiracy going on in the web design world that I'm not aware of?
Anyways, sorry for the rant I'm just overly frustrated with this and my laptop is really warm on the legs haha. But I would greatly appreciate any help.
Thanks to anyone willing to help me out! :thumbsup: