Liquid layout and CSS backgrounds

I have a div on my page and the background is applied to that div from the Inspector Pallet, can it be a responsive background?

Thanks


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You can add an attribute to the

part of the interface in Freeway. Select your DIV, choose Item / Extended, and click on the
tab. In the resulting sub-dialog, add a new attribute. Name: background-size and Value: cover .

Nothing else needed, the image should scale to fit the box, without showing any blank spots (it will crop top and bottom or left and right, the minimum needed to make it fill without distortion.

This works in modern browsers, and degrades gracefully in less-modern ones (you see the background, but it doesn’t scale).

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options