Solved

Add "page shadow" to a web page?

Posted on 2007-04-10
4
139 Views
Last Modified: 2010-04-09
Hi,

I fount out that many fashion page have the "page shadow" design.  It's like on the top or right of the web page, they also have some kinda photoshop picture to make the page has a little shadow. I might not explain it too clear here now.  I'll find an example to post it here later.

What I'm looking for is instruction on how to do this.

Thanks.
 
0
Comment
Question by:yarock
  • 2
4 Comments
 
LVL 25

Accepted Solution

by:
kevp75 earned 500 total points
ID: 18885427
the easiest way to do it would be to create an image that is a dark 1px by 1px, and then add a fade to your page background.

then use a div as a container to your layout, and make the background of it repeat on one side:

<html>
<head>
<style type="text/css">
  #container {
      background:url("/thepath/theimage.ext") repeat-x;
}
</style>
</head>
<body>
<div id="container">
the rest of your layout
</div>
</body>
</html>
0
 
LVL 25

Expert Comment

by:kevp75
ID: 18885468
have a look here:
http://www.getmysupport.com/temp.html

view source code to see how I did it
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now