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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:48:15+00:00 2026-05-25T16:48:15+00:00

Searching the web, it seemed the solution to my problem would be the CSS3

  • 0

Searching the web, it seemed the solution to my problem would be the CSS3 property border-image-outset. Since no browser implements this yet, I hope someone could help me with some other solution. Thanks in advance.

This is the layout a friend of mine designed, which I am translating into html / css.

The problem about it is the content area. The width of the content area is fix, the hight depends on the content. It has a medium part, spanning the whole width with a repeated 1px high background-image, business as usual. But it has also some fancy corners on transparent background, which are too high to have them outside (above and beneath) the content area. (And, just to be complete, a different image top and bottom between these corners, but that’s not a problem any more with multiple background-images.)

So how do I fill that content area .main with the repeated background, without it showing behind the corners?

I have prepared some examples to demonstrate my problem. Most styles and images are of course still missing. The 1px paddings/borders are for better visibility.

At first I tried a simple approach with just one header and one footer image. But I could not get the content to overlap both the header and the footer image and the page still having the desired height… open: http://test.illusionet.ch/jg/simple.html

Then I cut up the picture in about 100 pieces. Now there’s only one little piece missing, on the left side beneath the subnavigation – but I’m about as stuck as before. open: http://test.illusionet.ch/jg/pieces.html

I’ve tried out different techniques. I’m aware that the markup is quit a mess by now. Please ignore. Or feel free to rewrite from scratch. The ONLY thing given as of yet is the order and the neighbourhood of these two divs:

<div class="rechteSpalte">...</div>
<div class="mittlereSpalte">...</div>

I’v prepared a fiddle with the second example to play with and try out your thoughts.

  • 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-25T16:48:16+00:00Added an answer on May 25, 2026 at 4:48 pm

    Thanks to the input of @Jonah I was able to fix my code.

    Here you can see it live: http://test.illusionet.ch/jg/zindex.html

    The extra divs are needed, if you don’t want the negative margin directly on the paragraphs in #content.

    <html>
    <head>
    <style>
        body {
            background: darkgreen;
        }
        #top {
            background: url(http://test.illusionet.ch/jg/greengrass/img/header.png) no-repeat center top;
            height: 500px;
            margin: 0 auto;
            position: relative;
            width: 982px;
            z-index: 10;
        }
        #footer {
            background: url(http://test.illusionet.ch/jg/greengrass/img/bigfoot.png) no-repeat center bottom;
            height: 322px;
            margin: 0 auto;
            position: relative;
            width: 982px;
            z-index: 10;
        }
        #main {
            margin: 0 auto;
            width: 982px;
            background: yellow url(http://test.illusionet.ch/jg/greengrass/img/page.png) repeat-y right top;
            position: relative;
            z-index: 20;
            min-height: 100px;
        }
        #content {
            margin-top: -250px;
        }
        .clear {
            clear: both;
        }
        .neg_margin_hook {
            height: 1px;
        }
        .neg_margin_bottom {
            margin-bottom: -200px;
        }
        #content p {
            float: right;
            width: 30%;
            padding-right: 3%;
        }
        .left {
            margin-top:100px;
        }
    </style>
    </head>
    <body>
        <div id="top">
        </div>
        <div id="main">
            <div class="neg_margin_hook">
            </div>
            <div id="content">
                <p class="right">Cras mattis consectetur purus sit amet fermentum. </p>
                <p class="center">the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog. the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.  the quick brown fox jumps over the lazy dog.</p>
                <p class="left">Lorem ipsum dolor sit amet, consectetur adipiscing elit. </p>
                <div class="clear neg_margin_bottom">
                </div>
            </div>
        </div>
        <div id="footer">
        </div>
    </body>
    <html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Based on some standard web searching, I have narrowed down my problem to this:
This seems so basic that people would be screaming about it, searching the web
I've spent hours searching the web for an answer to this question... Here's what
I was searching on web regarding this but could not find any relevant answer.
I've been searching the web for a way to do this for about a
I have been searching the web for a solution for 3 hours without success.
I've been searching the web (and S.O.) for a while before asking this question.
I'm asking this question after searching the web for an answer for 2 days.
I'm asking this question after searching the web for an answer for 2 days.
I came across this method browsing the web searching for recursive methods. Believe me,

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.