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 6664153
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T02:34:43+00:00 2026-05-26T02:34:43+00:00

I want to create a content wrapper with a left and right shadow, not

  • 0

I want to create a content wrapper with a left and right shadow, not a bottom shadow. This is sort of what I’m going for: http://community.mybb.com/ notice the shadow (though this uses an image, not css).

What’s the best way to do this with CSS?

  • 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-05-26T02:34:44+00:00Added an answer on May 26, 2026 at 2:34 am

    Your best bet is to use an image to be compatible with older browsers. For CSS you’ll use box-shadow but IE9 is the first IE to support box-shadow.

    That being said you’ll need to use two box-shadow properties if you want to use CSS. You’ll need to do two of them.

    Take a look at http://css-tricks.com/snippets/css/css-box-shadow/
    Also the generator at http://css3generator.com/

    Here is a vague idea of what to do

    <div id="leftBorder">
      <div id="rightBorder">
        <div id="content">Content here</div>
      </div>
    </div>
    
    #leftBorder {
    -webkit-box-shadow: -10px 0px 5px 0px #999999;
    -moz-box-shadow: -10px 0px 5px 0px #999999;
    box-shadow: -10px 0px 5px 0px #999999;
    }
    #rightBorder {
    -webkit-box-shadow: 10px 0px 5px 0px #999999;
    -moz-box-shadow: 10px 0px 5px 0px #999999;
    box-shadow: 10px 0px 5px 0px #999999;
    }
    

    Alternatively you can potentially set just the border property alone bit it won’t give you the nice fuzzy shadow look.

    It may be tough to support below IE9 and you may need to throw in some pictures anyway. An old A List Apart article explains how to do this but it’s not pretty.

    http://www.alistapart.com/articles/cssdrop2/

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

Sidebar

Related Questions

I want to create dynamic content based on this. I know it's somewhere, as
I'm using this tutorial to create a full screen background. I want my content
I want to create a Silverlight 2 control that has two content areas. A
I want to create a right click context menu for my textboxes to provide
I want create a drop shadow around the canvas component in flex. Technically speaking
I want to create a wrapper for managed object to pass as an argument
I'm using this JavaScript tabbed script: http://net.tutsplus.com/tutorials/html-css-techniques/how-to-create-a-slick-tabbed-content-area/comment-page-2/#comments I have it working 100% if I'm
Can I avoid forwarding after content is created / saved ? I don't want
I want create a excel with Apache POI in java and I must insert
i want create image animation , i have 50 images with png format now

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.