C and S Design.
Search Friendly Programming and Design


This text should float over two backgrounds.
It will only work with setting everything at fixed width and heights. The two background divs are floated into place and the div containing the text is positioned absolutely over them.
Because position absolute removes the element out of the document flow it can be over the other elements without affecting anything else.
The height and width of the text div should be set to equal the sum of the background layers minus any padding required
The overflow property should also be set to auto to allow for vertical scroll bars should the content extend beyond the text div, otherwise the content will simply extend beyond the backgrounds.

Setting Multiple Backgrounds




Valid HTML 4.01! Valid CSS! copyright © C and S Design 2004 - 2005
Website Design and SE Friendly Coding C and S Design