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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:13:36+00:00 2026-05-20T18:13:36+00:00

I need to display some content within an area that will have rounded corners.

  • 0

I need to display some content within an area that will have rounded corners. The images associated with these corners are in a single .png file. In an effort to show the rounded corners, I’m using the following:

<table border="0" cellpadding="0" cellspacing="0" style="width:800px;">
  <tr>
    <td style="height:12px; width:12px;background-image:url(/images.png);background-position:108px 48px;">&nbsp;</td>
    <td style="background-color:silver;">&nbsp;</td>
    <td style="height:12px; width:12px;background-image:url(/images.png);background-position:124px 48px;">&nbsp;</td>
  </tr>

  <tr>
    <td style="background-color:silver;">&nbsp;</td>
    <td>My content goes here.</td>
    <td style="background-color:silver;">&nbsp;</td>
  </tr>
</table>

Oddly, there is a thin line between my upper corners and the content. This line does not appear between the middle columns though. At first I thought I was sizing my images wrong, but they look fine. Does anybody have any ideas of what I’m doing wrong or how I can fix this?

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-20T18:13:37+00:00Added an answer on May 20, 2026 at 6:13 pm

    Does anybody have any ideas of what
    I’m doing wrong?

    • Using tables for layout.
    • Using an image-based technique for rounded corners.
    • Using inline styles (unless you’re using them purely for brevity in asking the question).

    how I can fix this?

    • Use this HTML:

      <div id="content"></div>
      
    • Use this CSS:

      width: 800px;
      -moz-border-radius: 20px;
      border-radius: 20px;
      

    We’re using the CSS3 property border-radius, which will work in IE9 and other modern browsers.

    If you require rounded corners in older versions of Internet Explorer, you should use CSS3PIE.

    It’s as simple as downloading a file, and adding a single line to your CSS:

    #myElement {
        ...
        behavior: url(PIE.htc);
    }
    

    Live Demo (without CSS3PIE)

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

Sidebar

Related Questions

I am running a Tomcat application, and I need to display some time values.
Hi I need to create a module in drupal to display some data, not
I need to display 2d images in opengl using textures. The image dimensions are
I need a quick solution to getting some decent layout working within the tabnav
I have a scrollable area that contains popup menus. Conceptually, something like this: <div
This is really hard to explain. I have some divs with an id within
I have a JSP page that needs to accept some info into a form,
i have a input tag which is non editable, but some times i need
I would like to display some content located in my models in some of
I need to display an error message on rejecting a drop in my application.

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.