Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8099697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T22:29:42+00:00 2026-06-05T22:29:42+00:00

I want to create a vertical line shadow over the whole page like this:

  • 0

I want to create a vertical line shadow over the whole page like this: https://i.stack.imgur.com/fsJCE.png. I’ve tried box-shadow but that then I still have a shadow at the top and I want it only on the right side like on the image.

I’ve tried it with:

<html>
<head>
    <title>Box Shadow Test</title>
    <style>
    body,
html {
margin:0;
padding:0;
color:#000;
background:#52667B;
}
    wrapper {
        width:750px;
margin:0 auto;
background:#99c;
    }


    #main {
        padding-left: 50px;
float:left;
width:500px;
 -webkit-box-shadow: -4px 0px 5px -2px #000 ;
}
#sidebar {
float:left;
width:250px;

}
    </style>
</head>
<body>
    <div class="wrapper">
        <div id="sidebar" class="navigation">

    <ul>
        <li><a href='home'>Nieuws</a></li>
        <li><a href='events'>Duiken</a></li>
        <li><a href='places'>Duikplaatsen</a></li>
        <li><a href='reports'>Duikverslagen</a></li>
        <li><a href='forum'>Forum</a></li>
        <li><a href='gallery'>Galerij</a></li>
        <li><a href='faq'>FAQ</a></li>
        <li><a href='contact'>Contact</a></li>
    </ul>

        </div>
        <div id="main">
            Lorem ipsum aute commodo cupidatat veniam occaecat esse culpa exercitation dolore magna commodo enim eiusmod laboris est dolor laboris velit sint voluptate id cillum nisi quis aliqua ut labore consectetur Duis nisi occaecat do et cupidatat in aute labore nulla consequat dolore dolor consectetur cupidatat fugiat eiusmod tempor anim eiusmod dolor proident ex aute sunt Excepteur cupidatat fugiat nostrud irure id laboris ad enim nulla deserunt quis eu ullamco consectetur tempor nostrud magna quis ut ex minim id cupidatat amet culpa amet nisi Duis Duis irure irure ullamco est dolor culpa esse id in ut reprehenderit in esse pariatur in nostrud fugiat labore ut irure do in consectetur incididunt ullamco sint do occaecat dolor Ut pariatur non sint ut in incididunt id Duis aute nulla et eu ullamco in tempor non nisi reprehenderit sit reprehenderit et tempor officia sunt pariatur aliquip in pariatur labore veniam ad adipisicing velit aliqua aliqua cillum esse Duis pariatur eiusmod sed consectetur in cillum laborum dolor enim laborum qui velit pariatur adipisicing id aute cupidatat cupidatat quis anim tempor ad labore ad sunt minim laborum exercitation labore sunt quis nulla consequat Duis deserunt deserunt eiusmod aliqua sed in qui occaecat do velit reprehenderit dolor dolor cillum veniam dolor consectetur est commodo deserunt eu amet velit velit commodo est reprehenderit aute. 
        </div>
    </div>

</body>
</html>

But as you can see on this image: https://i.stack.imgur.com/01My9.png you still have some shadow on the bottom side.

Anyone have any idea on how to do that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T22:29:45+00:00Added an answer on June 5, 2026 at 10:29 pm

    First of all, use box-shadow instead of -webkit-box-shadow. And than, just play with the values ’til you get the perfect shadow.

    I tried this:

    box-shadow: -5px 0px 5px -4px #000 ;

    Then add position:absolute; and top:0 and bottom:0; to #main

    Demo:
    http://jsfiddle.net/magq5/1/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create my main UI like this one: http://lh3.ggpht.com/RYB2ckycDc_4rb2bmsDzqLLmYcj37xDOA7d7sR6XIVfwRb3a44_HqMqfb1vdmtxTEidenVY4C9RcTREl Is it possible
i want to create vertical expandable list view using java script.like here click .If
I want to create a dynamic vertical line on the right side of my
I want to create a vertical bar plot. This is my code: bar (x,
I wonder, is it possible to create vertical marker in zedgraph ? I want
i want create Dynamic Slideshow in Jquery i'm Write this code var ctx =
I want to create a horizontal and vertical accordion in asp.net. I have use
I want to create an Application with tabs, and I have found this guide
i have a row of buttins created like this i want to change the
How can I, create a vertical line between the open brace and close brace

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.