|
Posted by dorayme on 07/13/06 01:00
In article <pTftg.140049$771.55798@edtnps89>,
"Michael Laplante" <nowhereman@twilightzone.net> wrote:
> "Benjamin Niemann" <pink@odahoda.de> wrote in message
> news:e93o8r$vr6$1@online.de...
> > Michael Laplante wrote:
> > You can specify the image size in % via CSS (WIDTH and HEIGHT attributes
> > for
> > the IMG element are always in px).
>
> Is that percentage of the screen size or percentage of the original image
> dimensions?
> >
....of the container you are displaying the image in; if it is
body, it will be width of browser basically.... Normally, you
specify the width and height of the image in pixels. If you want
for it to scale, crappily if need be (most image enlargement is
crappy even in image software and should be avoided as far as
possible), don't specify both width and height, just width in %
and the browser will work out the height to save you specifying
in which case you need to get the % proportions correct.
--
dorayme
[Back to original message]
|