This is a discussion on "Layering content on content in CSS?" within the Web Page Design section. This forum, and the thread "Layering content on content in CSS? are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Layering content on content in CSS?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Layering content on content in CSS?
I want to set up some boxes in CSS with images at the top and bottom and the text and other page content overlaying those images. I've set up what it might look like (without images) at http://wickedmoon.com/wickedmoon_test.php. The images create a border at the top and bottom of each box, similar to the skins at bebo.com. The images will have flat sides, so they can tile seamlessly to the right to fit the browser window. The images fade into the centre of the box, which has a flat background colour. As more content is added to the box, you see more of the flat colour, but the box is always tipped at the top and bottom with the images.
I wanted to float the content of a box over its entire area and wondered if this is possible? The content would begin over the top image, continue down over the flat colour and finish covering the bottom image in the box. The content could be anything, so you'd have images overlaying the images that form the top and bottom of each box. Jason |
|
|
|
|||
|
Re: Layering content on content in CSS?
Just use CSS background images for the top and bottom. You can only use one image per element, so you may need to add an extra wrapper <div>.
|
![]() |
| Tags |
| layer, overlay, tile |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| content comes down | snelll | Web Page Design | 2 | May 26th, 2008 15:55 |
| Expandable Content Script (Swtich Content) | Matc | JavaScript Forum | 0 | Apr 8th, 2008 10:53 |
| Content Placement + Content Dividing | josephman1988 | Website Planning | 2 | Jan 22nd, 2008 05:02 |
| CSS content gets cut off | gwx03 | Web Page Design | 1 | Dec 15th, 2003 05:57 |