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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T22:25:59+00:00 2026-05-29T22:25:59+00:00

I have a div, with an image border repeated along y-axis from top. background:url(../shadow_left.png)

  • 0

I have a div, with an image border repeated along y-axis from top.

background:url(../shadow_left.png) repeat-y top left;
border:1px solid black;

the problem is, that my client DEMANDS a 1px border also, along with the background border image.

If I simply add the 1px solid black border, it will appear AFTER the background-image border.

Since the background-border is a shadow, I need the 1px regular border just before it, and not outside it. Currently it is appearing outside, which makes it ugly.

Any ideas?

Thanks

  • 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-29T22:25:59+00:00Added an answer on May 29, 2026 at 10:25 pm

    Couple of options you could try.

    Firstly, you could just add a 1px border to the actual image file, on the right side.

    Secondly, you could add an inner DIV to your current DIV. The inner DIV will have the content and the 1px border and then the outer div has the background image. you will need to make the inner DIV have a left-margin equal to the same width as the image you are using for the shadow.

    Hope that makes sense

    Here is a sample

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

Sidebar

Related Questions

i have div take css class .headbg01 { background-image: url(../images/header_background01.jpg); border-left: #cccccc 1px solid;
I have CSS with an image .backgroundImg { background: url('./path/file.gif'); background-repeat: no repeat; width:
I have an image div like this <div class=bgCover>&nbsp;</div> <div class=overlayBox style=position: fixed; background-image:
I have a div and an image inside it as a background: <div id=background>
i have many div's with the same background image and i want change this
I have a DIV element with a background image and I am trying to
I have a div with 60% opacity, to show part of a background image
I need to show a div like in this image (top), but I have
So I have a div and I added a background image via CSS. I
I'm looking for a way to have a div background image change when the

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.