Using the settings you specify, and assuming that the browser is not
set to override any of these settings, IE5 requires 133 x 16 pixels to
display your text.
As to support, I built a web page to your specifications, set my
display settings as you required, set IE's settings as you required,
did a screen capture and measured the text in a graphics program
(GIMP).
Here is the source of the web page:
<HTML>
<HEAD>
</HEAD>
<BODY>
<FONT SIZE=1 FACE="Verdana">(Total: $100.00)</FONT>
</BODY>
</HTML>
- Hammer |
Clarification of Answer by
hammer-ga
on
30 Jan 2003 09:26 PST
BTW, alan_dershowitz is correct. You can't depend on any particular
version of any particular browser to do anything in particular on any
particular day. *sigh*
- Hammer
|
Request for Answer Clarification by
respree-ga
on
30 Jan 2003 13:57 PST
Thanks Hammer for your response.
However, I do not believe your answer is correct.
If a screen measures 800 pixels wide and you're saying the text
occupies 133 pixels, then the text "(Total: $100.00)" should display
6.01503759398496241 times (800 divided 133). Said another way, it
should display (repeat) a minumum of 6 times (assuming your 133 pixel
answer is correct). Right and left margins have been set to 0. Of
course, the text would "wrap" on one of the letters 7th occurence of
the phrase.
Please follow the link below, which (on my computer at least) only
displays it 5 times (not 6) before the line breaks. (set browser font
to "largest" and screen resolution to 800 x 600, then view link)
www.respree.com/scstore/sitepages/temp.html
My conclusion is that it is actually 'larger' than 133 pixels.
I'm not a graphics expert, but I'm not sure if your screencap approach
makes sense. Does the screen 'precisely' capture the 'exact'
dimensions of what is visually displayed by the html, pixel by pixel.
Will give you a chance to clarify or submit a different answer before
I rate.
Let me know if my math theory is flawed in some way.
Thanks.
|
Clarification of Answer by
hammer-ga
on
30 Jan 2003 14:45 PST
Your math does not take into account that you are not allowed to have
the entire 800 pixel screen width. The portion of the browser where
the page is displayed is not 800 pixels wide. If you have your browser
maximized, and have no sidebars open, it is 800 pixels minus the
window decoration (border) and, in some cases, the scroll bar width,
which is usually about 18 pixels. If we assume 2 pixels on each side
for the window decoration, then you only get 796 pixels to work with.
796/133=5.98 repetitions. If we also take away 18 pixels for the
scroll bar, then you are left with 778 pixels. 778/133=5.85
repetitions. In both cases, the browser will try to wrap at a space,
so your test page wraps at the space after the colon in the sixth
repetition.
To answer your concern about the method used, I have extensive
graphics experience. The screen capture approach is valid. It "takes a
picture" of the browser window, pixel by pixel.
Incidentally, you have a small syntax error in your source.
rightmarin="0" should be rightmargin="0"
- Hammer
|