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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:17:21+00:00 2026-05-25T21:17:21+00:00

I am working on a new layout for a website, and I am extremely

  • 0

I am working on a new layout for a website, and I am extremely close to achieving the result I want. However, there is one problem. I am using an adaptation of the technique described here (http://nicolasgallagher.com/multiple-backgrounds-and-borders-with-css2/demo/backgrounds.html, see the 3 column example just below the gorillas). Basically, my version uses an absolutely positioned CSS pseudo element as the backgrounds for the left column.

My problem arises when I attempt to apply a box-shadow to the pseudo element. The element, and its shadow, always appear on top of my main column.

To make all of this clearer I have created a simple example page here: http://www.3strandsmarketing.com/test4.html

My fear is that since I’m using a pseudo element based on the parent of my main column, it will never be able to sit under it, but I’m hoping there’s some way this can be worked around. Any ideas?

  • 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-25T21:17:22+00:00Added an answer on May 25, 2026 at 9:17 pm

    Ok, the solution here is to not use semi-transparent (rgba) colors for the main column. Otherwise, you will be able to see the drop shadow of the sidebar column through it, ruining the effect of one being on top of the other.

    To see the correct effect, visit the example page, and use Firebug or another DOM manipulating tool to change the background color for the #main-content div from rgba(0, 100, 0, 0.2) to rgba(0, 100, 0, 1). You should now see that it is indeed “on top” of the left side bar.

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

Sidebar

Related Questions

I'm working on a new website. I've done the basic layout. I'm trying to
I'm working on a new layout for my site that uses a header, footer
I am working on a layout for a new site, and I'm having some
Working on a new app and using restful-authentication. I was trying to make it
I am working on a new project. Is there any benefit with going with
I'm working on a new website, where I have a contact 'tab' coming from
I've been working on a CSS fluid layout for my website, and I am
hey ppl i am coding a new website, i am using the JQUERY UI
I am working on new layout of my site & I come across GIZMODO
I've just done a new html build of a website which is working and

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.