473,396 Members | 2,129 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Question about "'size' px"

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:
.box{
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:

.box{
width:500px;
}

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:
http://users.telenet.be/ravian/Opera.jpg
Mozilla shows it like this:
http://users.telenet.be/ravian/mozilla.jpg
and IE 7 shows it like this:
http://users.telenet.be/ravian/IE7.jpg

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:
http://users.telenet.be/ravian/ai/
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
1 2321
AricC
1,892 Expert 1GB
I'm not really clear what your question is, please clarify.
Feb 22 '07 #2

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

Similar topics

7
by: Joe | last post by:
I have an upload file operation in the web application. UploadForm.asp is the form, and UploadAction.asp is the form processing. //UploadForm.asp <FORM NAME="InputForm"...
7
by: Aryeh M. Friedman | last post by:
If have something like the following declartion: enum foo {One,Two,....,Ten}; How do I determine how many elements (enumerations)... in this case it is obviously 10 but I don't want to hard...
4
by: JMUApache | last post by:
Hi, A have a problem with Inhreit Control. I try to Change its Size in Construct Function, And it works. Code Here: -------------------------------------------------- public class...
1
by: Paul Gorodyansky | last post by:
Hello! I have a drop-down list, 13 options there. If I click on it, Firefox shows all 13 items while Internet Explorer shows only 11 and a scroll bar - even if it's in the middle of a page and...
17
by: teser3 | last post by:
I can put out a Word Doc from PHP but if I try and manipulate the font size in the PHP part it outputs a blank Word Document. Here is what I have: <?php $fname="report.doc"; $handle = fopen(...
3
by: kjworm | last post by:
Greetings, I have a report displayed on a screen that anyone in the office can look at. The data on this report will change from time to time. This report has different colors displayed...
3
by: Tom | last post by:
Can someone please explain the non-working aspect of binding to Width? See code below. Thanks !! -- Tom =================================================== using System; using...
1
by: chrisj | last post by:
I'm using freeASPupload and got some assistance integrating to a Member script. It works successfully. In this modified version there are two groups that use this upload script. Members of one...
7
by: Luna Moon | last post by:
#include "stdafx.h" #include <iostream> #include <string> using namespace std; int main() { string cc(31, 'c'); string bb=cc.assign(3, 'dd');
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.