On 11/08/2009, at 1:00 PM, Michael Stevens wrote:
> -----Original Message-----
> From: css-d-boun...@lists.css-discuss.org
> [mailto:css-d-boun...@lists.css-discuss.org] On Behalf Of Lalena
>
>> I have a new challenge. In CSS, is it possible to get an image to be
> cropped off on both sides? Or in print language, to "bleed" on both
> sides?
>
> --
>
> Any particular reason why you wouldn't just make the image the size
> you
> want? It seems kinda silly and a waste of time to make an image
> larger than
> necessary and position it off the page so that it will get cropped
> when
> viewed.
>
> Mike
>
I agree. However if you positioned the background image to centre and
it was indeed bigger than the div it would be cropped equally on the
left and right. Kinda pointless unless the containing div is flexible
so that on a big high res screen, with full screen broswer the user
can still see an image. I did that for an old site, see:
http://blakeys.com/mep/about.html
and the header image.
CB
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/