| Welcome to WebmasterWorld Guest from 220.127.116.11 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
|Shadow container with background image|
This is my first post on this forum.
I'm trying to make a shadow background within my content block.
If i do this the same as the website above than the shadow starts in the header and i cannot modify the position because the whole page goes with it.
See my CSS code below:
background: url(http://www.example.com/bg_shadow.png) repeat-y center;
Is there a way to manage the containershadow div separately? What i need to do is add the position top en bottom so it will match my website.
Can someone help me with this one please?
Thanks in advance.
[edited by: alt131 at 7:34 pm (utc) on Feb 17, 2012]
[edit reason] Thread Tidy [/edit]
It's kind of hard to tell what exactly you are trying to do here but it sounds like you are trying to put a dropshadow on a div with a repeating image.
You could put another div around the #containershadow, make it a little bigger and put the shadow there. Or better yet use CSS box-shadow on the #containershadow.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved