You are here: Re: Stretch Images « HTML « IT news, forums, messages
Re: Stretch Images

Posted by dorayme on 11/11/06 22:00

In article
<doraymeRidThis-2FE63D.08005612112006@news-vip.optusnet.com.au>,
dorayme <doraymeRidThis@optusnet.com.au> wrote:

> In article <L4KdneG2vs40SsjYRVnyig@bt.com>,
> "Chris" <nospam@btinternet.com> wrote:
>
> > My management want a Microsoft style home page but with a fluid percentage
> > driven layout, which has a big image(s) where the content normally goes.
> > What is the best way of stretching that image so it fits neatly in different
> > browser sizes. I don't want to go down the javascript browser detection
> > route as we are aiming for WSC accessiblity (at a minimum the lowest
> > priority) and one of the guideline asks for the site to work without
> > javascript.
> >
> > Is there a stretchy fluid css solution in which the image will not pixelate.
> > I assume scaling down a big image will work better.
>
> Yes, you can do this. And, yes, scaling down is the way to go,
> work to try to avoid most people at least scaling up. I will give
> you a procedure I use to cope with text size settings or changes
> by the user and you might adapt to % (in which case you better
> ignore any stuf about height):
>


I should add that if you are going to do this to fit browser
widths, you will be getting into possibly unwisely big files. So,
with this in mind, there is another thing you should be aware of,
if you do it right, you can make a repeating horizontally bg
image. Now, of course, everything depends on design. With the
right "small width" pic that repeats, you can avoid having to put
stuff that repeats anyways into one big pic... think big sky,
railway tracks going on and on...

--
dorayme

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация