Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shadows around main sandbox area... 1

Status
Not open for further replies.

dwessell

Programmer
Jan 26, 2006
114
US
Hey all...

I'm interested in putting a shadow around the the main div of the page.. But I'm a little lost as to how to go about it.. I have an example of what I want to do ( But I can't seem to figure out how they did it.. Any suggestions?

Thanks
David
 
I'm guessing its a background image on some lateral divs.

something like:

Code:
<div id=maincontainer>
<div id=leftshadow></div>
<div id=centerdiv></div>
<div id=rightshadow></div>
</div>

Then the css would ahve something like:

#leftshadow{
background:ULR("shadow.gif");
background-position: right center
background-repeat: repeat-y;
}

#rightshadow{
background:ULR("shadow.gif");
background-position: left center;
background-repeat: repeat-y;
}

Basically speaking.

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top