D
David Graham
I use CSS to tile an image (in the body tag) background across all of the
page. But, and this is the bit I can't quite figure out, I would also like
to run an orange strip 200px wide (also in the body tag) in the pages
background down the left side of the screen. I have tried to achieve this
by:
style="background: url('art/orange.gif') 0% 0% repeat-y"
The trouble is it repeats down the page as expected but it also covers the
rest of the page with white, so I lose my other image (which is in an
external stylesheet) which is supposed to cover all parts of the pages
bacground which is not covered by the orange strip. So why doesn't the
orange stripe confine itself to the left edge of the screen? I guess its
not possible to have two images in the background of an element - unless of
course you know different.
thanks
David
page. But, and this is the bit I can't quite figure out, I would also like
to run an orange strip 200px wide (also in the body tag) in the pages
background down the left side of the screen. I have tried to achieve this
by:
style="background: url('art/orange.gif') 0% 0% repeat-y"
The trouble is it repeats down the page as expected but it also covers the
rest of the page with white, so I lose my other image (which is in an
external stylesheet) which is supposed to cover all parts of the pages
bacground which is not covered by the orange strip. So why doesn't the
orange stripe confine itself to the left edge of the screen? I guess its
not possible to have two images in the background of an element - unless of
course you know different.
thanks
David