| Author |
size specifications - inches & pixels
|
|
| sanjay_bv 2004-09-29, 12:15 pm |
| Hi all
Dreamweaver and the the browser show different sizes when they are given in
inches & pixels. why is this?
for example: 72x72 pixels = 1in x 1in
but the inch specification when used in HTML code is much bigger than the
pixel specification.
Refer to the code below.
---------------------------------------
<div id="image3" style="Z-INDEX: 4;BORDER: #000000;BORDER:
0.03in;BORDER-STYLE: solid;
HEIGHT: 1in; WIDTH: 1in;LEFT: 1in; TOP: 1in; POSITION: absolute;
TEXT-ALIGN: left">
<img style="" height="72" src="" width="72" />
</div>
-----------------------------------------------------------------------
is there any particular reason to this or do i need to any pixel to inch
conversion.
regards
sanjay
| |
| Joe {RoastHorse} 2004-09-29, 12:15 pm |
| the only relevant measurement for screen is pixels, inches are
meaningless - like weighing apples in hours and minutes. reproduced size
depends on monitor resolution, settings, etc.
joe
sanjay_bv wrote:
> Hi all
>
> Dreamweaver and the the browser show different sizes when they are given in
> inches & pixels. why is this?
>
> for example: 72x72 pixels = 1in x 1in
> but the inch specification when used in HTML code is much bigger than the
> pixel specification.
>
> Refer to the code below.
> ---------------------------------------
> <div id="image3" style="Z-INDEX: 4;BORDER: #000000;BORDER:
> 0.03in;BORDER-STYLE: solid;
> HEIGHT: 1in; WIDTH: 1in;LEFT: 1in; TOP: 1in; POSITION: absolute;
> TEXT-ALIGN: left">
> <img style="" height="72" src="" width="72" />
> </div>
> -----------------------------------------------------------------------
>
> is there any particular reason to this or do i need to any pixel to inch
> conversion.
>
> regards
> sanjay
>
>
>
| |
| sanjay_bv 2004-09-29, 12:15 pm |
| found out myself.
this depends on the monitor setting. usually monitors are set at 96dpi.
so 1inch = 96dpi.
:)
- sanjay
| |
| Joe {RoastHorse} 2004-09-29, 12:15 pm |
| you sure?
96 dots can equal anything...
joe
sanjay_bv wrote:
> found out myself.
> this depends on the monitor setting. usually monitors are set at 96dpi.
>
> so 1inch = 96dpi.
>
> :)
>
> - sanjay
| |
| Win Day 2004-09-29, 7:16 pm |
| On Wed, 29 Sep 2004 11:39:19 +0000 (UTC), "sanjay_bv"
<webforumsuser@macromedia.com> wrote:
>found out myself.
>this depends on the monitor setting. usually monitors are set at 96dpi.
>
>so 1inch = 96dpi.
>
>:)
>
>- sanjay
I have three monitors of different sizes here: a 17" CRT, a 22" CRT,
and a 19" LCD. All are set to display at 1280px by 1024px.
A rectangle that is 300px by 200px will cover the same pixel area on
each screen. It will cover the same relative (%) area of each screen.
It will NOT be the same size in inches on the three monitors.
Which only makes sense, as the monitors aren't the same size in
inches.
Inches are completely irrelevant. Use pixels.
Win
--
Win Day, Multimedia Developer
Wild Rose Websites
http://www.wildrosewebsites.com
winday@NOSPAMwildrosewebsites.com
| |
| darrel 2004-09-29, 7:16 pm |
|
> found out myself.
> this depends on the monitor setting. usually monitors are set at 96dpi.
Inch/CM, etc. are mainly used for print styles...not screen styles. They
don't really have any direct corelation with the screen (other than the
OS/browser's conversion).
-Darrel
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |