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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T08:22:29+00:00 2026-05-13T08:22:29+00:00

Basically my goal is for my page content div to be encapsulated in a

  • 0

Basically my goal is for my page content div to be encapsulated in a round rectangle. Sort of like this:

Top of round rect (White)
Page content (uses a white rectangular css background) 
Bottom of round rect(White)

So then the page content section can be as long as I need and retain the round rect shape. I’m just not sure the best way to do this. I tried adding an img to the top of pagecontent div, but the transparent areas were overridden by the pagecontent’s background. 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-13T08:22:30+00:00Added an answer on May 13, 2026 at 8:22 am

    If I understand what you mean you should put the top and bottom divs outside of the content div :

    <html>
    <div id=top>&nbsp;</div>
    <div id=middle>
    
    ... insert page content ...
    
    </div>
    <div id=bottom>&nbsp;</div>
    </html>
    

    and then in the css

    #top {
     background : url("top.png") no-repeat bottom center;
     height : <height of image in pixels>px;
     padding : 0;
     margin: 10px auto 0 auto;
     width:<required width>
    }
    
    #middle {
     background : url("middle.png") repeat-y top center;
     padding : 0;
     margin: 0 auto 0 auto;
     width:<required width>
    }
    
    #bottom {
     background : url("bottom.png") no-repeat top center;
     height : <height of image in pixels>px;
     padding : 0;
     margin: 0 auto 10px auto;
     width:<required width>
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In a Facelet page that uses a Facelet Template like this: <h:head> <h:outputScript name=custom.js
I have a text block on my page. Basically, I'd like to allow the
My goal is to extend functionality of the current asset tracking system . Basically
My goal is to get various SEO-relevant information for various sites. Basically all the
The project has a goal: use interface centric design. Basically we declare classes of
My goal is to connect to an OWA page (Microsoft Office Outlook Web Access
I building a simple, 7 page, database driven, website, and I would like to
I'm having a problem with &. Basically I haven't been able to escape this
I'm basically trying to make a goal bar. The goal is determined by getting
How can I make a pop up window (basically a hidden div with high

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.