Layering content on content in CSS?

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.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Sep 10th, 2007, 14:55
Junior Member
Join Date: Aug 2007
Location: England
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote

  #2 (permalink)  
Old Sep 10th, 2007, 15:23
SuperMember

SuperMember
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
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>.
Reply With Quote
Reply

Tags
layer, overlay, tile

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 19:06.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43