By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,395 Members | 1,882 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,395 IT Pros & Developers. It's quick & easy.

Question about "'size' px"

P: 5
I have a very small question regarding the px notation (with a lot of text though).
is there a reason Mozilla cannot read the following css:
width:500 px;

because opera can show this without a problem. I'm no Opera zealot, However, since mozilla is supposed to be the best, I guess they must have a reason to misread that space, because this he renders without problem:


I don't mind one way or another. Opera, as well as Mozilla error monitor warned me about this small mistake (though, as I said, Opera does seem to understand what I mean). I'm just curious if mozilla has a reason.

By the way. Which sort of browser is best? A browser that can interpret errors as that what you want to reach(i.e. knowing that 500 px is 500px), or a browser who won't show you what you want until you've produced the exact code it demands (i.e. not gona read 500 px, until you've changed it to 500px).

I guess the flexible one is great for creating webpages without having to worry too much about errors. while the other might be really frustrating, but in the end you will make exact correct code ( although that example of the px is silly in my opinion).

as example, I've made a site, an, as opera user, I used opera as reference. this is what opera shows:
Mozilla shows it like this:
and IE 7 shows it like this:

Again, I might be an opera user, and while I am convinced that Opera is the better of the three, I generally don't care which browser other people use.

The final version, for those who are interested is here:
somehow, both mozilla and IE can't seem to center the page, but I'm not going to mind that. (though I'm pretty sure that again is some error in my css sheet, and opera again reading over it, kinda guessing what I want).
Feb 20 '07 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 1,892
I'm not really clear what your question is, please clarify.
Feb 22 '07 #2

Post your reply

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