Bru, Pierre wrote:

>hi all,
> 
>I have a page with an tiling image as background
> 
>BODY { background-image: url(../picts/pict.jpg); }
>
>but I would like to replace this background with one that have a left
>and a right part (imagine a piece of paper with visible left and right
>borders) that auto-adjust its size when the widows shrinks. is that
>feasible with an ad-hoc CSS or do I have to put some suitably positioned
>div in my page ?
> 
>TIA,
>Pierre.
>
Hi Pierre,
I think you can only use one border in the background: in the background 
it is impossible to have more or to vary in width.
So do you mean this kind of thing 
<http://home.tiscali.nl/developerscorner/css-discuss/page-border.htm>? 
Voila!
This uses a <div> for positioning the other border, and has 1 combined 
image for both borders - positioned with the background-position property.

I like having fun playing with liquid borders!

Greetings,
francky
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to