467,910 Members | 1,859 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,910 developers. It's quick & easy.

CSS & Firefox/Netscape

Okay first ill post links to make things easier to understand.

Homepage - http://ultimate-signatures.com/
CSS - http://ultimate-signatures.com/Format.css

ok so if you take a look you can clearly see the problem i am having. All works fine with IE

Any help would be greatly appreciated as you can see from the homepage i am on a deadline to have the site working before the end of the month.

Thanx in advance to anyone who can help with this issue.
Feb 9 '08 #1
  • viewed: 1088
6 Replies
Expert 512MB
After a quick glance. Center is not an accepted value for float. It is either left, right or none.

Expand|Select|Wrap|Line Numbers
  1. img{
  2. float:center;
  3. margin:0 0px 0px 0;
  4. }
Feb 9 '08 #2
Expert 4TB
Your doctype is incorrect. New pages should always use the 'strict' doctype so I don't know why you are using 'transitional' but here is the corrected version:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

Yes, there is no such thing as 'float:center'.

Validate your html for that list of errors.
Then validate your CSS for that list of errors.

After fixing those errors, work and test your page in a modern browser. Firefox would be good. Then we can adjust for IEs quirks and bugs. All versions of IE are 10 years behind web standards and should never be used as a reference for how things should work.

Once you get your page working in a modern browser, you can be reasonably assured it will work everywhere, sometimes even IE. But IEs quirks and bugs are known and so are the fixes.
Feb 9 '08 #3
Thank you for your response unfortunately that did not work but i will leave it with "none" in hope it will stop future problems arising.
Feb 9 '08 #4
Expert 4TB
What did not work?

float:none is the default so there is no need to have that.
Feb 9 '08 #5
okay so can i just remove float for the image?
i have validated both the home page and the css and yet it still doesnt want to work with firefox/netscape.

please help :(
Feb 9 '08 #6
Problem sorted thank you for all your help.
Took FLOAT: left; off of #main and #footer
Feb 9 '08 #7

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by Florian Proch | last post: by
5 posts views Thread by SPE - Stani's Python Editor | last post: by
7 posts views Thread by Paul Lautman | last post: by
14 posts views Thread by Arne | last post: by
16 posts views Thread by Dobedani | last post: by
2 posts views Thread by cooldudevamsee | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.