Rachael Beale (CSS-Discuss) schrieb:
When I set the background-repeat on the right-hand border to repeat-y,
I can no longer seem to control the image's initial vertical position
(i.e. it starts immediately at the top of the div rather than, say,
70px down).

Page:
http://www.petrucci-ensemble.org.uk/redesign/petrucci-redesign-debug.html
CSS: http://www.petrucci-ensemble.org.uk/redesign/style-debug.css


You could a.p. the branding over the image border if you don't want additional divs.

#wrapper { position: relative; margin: 1em 5em; padding: 0 25px 0 0; background: rgb(241, 234, 153) url('border-r.jpg') scroll 100% 70px repeat-y ;}

#maincontent { padding: 70px 0px 0px 25px; background: transparent url('border-l.jpg') repeat-y scroll left 70px; }

#branding { position: absolute; top:0; left:0; width:100%; height: 70px; background: rgb(241, 234, 153) }

/* \*/
* html wrapper {zoom:1;}
* html #branding {padding: 0 25px 0 0;}
/* */

(But what's so wrong with additional divs?)

Ingo
______________________________________________________________________
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