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 need to display some HTML content as it will be printed. Basically, I
Need some help assigning a mouseover event to display some icons that start out
I have a RichTextBox and I add some texts programatically. I need to display
I display set of images(small). I need to show the larger image(300*300) at some
I have a servlet that processes some content from the web and generates a
I have a content type that references multiple nodes, and I need a way
I have some images (png's and jpg's mostly) that I'm storing in SQL Server
I'm writing a webpage and I need to display a div with some content
I have a .net web service that takes some xml data. From within the
I need to display some content if the current time in a certain location

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.