css curve box -ie problem

I am trying to create a box with curves. The problem is ie puts a large gap bewteen divs. What causes this?


Have used this previously

.Skin1 {
  background: url(../shared/curve_mid.jpg) repeat-y left top;
.Skin2 {
  background:url(../shared/curve_top.jpg) 0px 0px no-repeat;
.Skin3 {
  background: url(../shared/curve_bottom.jpg) no-repeat left bottom;
  padding: 5px 10px 5px 14px;

<div class="Skin1">
<div class="Skin2">
<div class="Skin3">

         <span class="contact_menu" style="font-weight:bold">
Careers homepage</span><br />
         <span class="contact_menu" style="font-weight:bold"><a href="vacancies.php">Vacancies</a></span>

but this expands to fix the content but you cannot set a height for the middle, content holding box which is what I need this time.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Divs are block level elements, use spans instead.
Do yourself a favor and check out http://pro.html.it/niftycube/

Rounded corners using Javascript + CSS .... no images ... no 3x3 grids to create 1 rounded item...just define a Div tag with the proper id selector and your done

Here is rounded corners with cross compatibillity as shown from The Css Anthology

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="http://www.w3.org/1999/xhtml">
<title>Rounded Corners</title>
<meta http-equiv="content-type"
    content="text/html; charset=iso-8859-1" />
#box {
      font: 80%/1.6 Arial, Helvetica, sans-serif;
      color: #2D486C;
      background-color: transparent;
      margin: 0 20px 10px 0;
.roundborder {
      height: 1px;
      overflow: hidden;
      background-color: #B0C4DE;
      border-right: 1px solid #33527B;
      border-left: 1px solid #33527B;
.c1 {
      margin: 0 12px 0 12px;
      border: none;
      background-color: #33527B;
.c2 {
      margin: 0 9px;
      border-width: 0 3px;
.c3 {
      margin: 0 7px;
      border-width: 0 2px;
.c4 {
      margin: 0 6px;
.c5 {
      margin: 0 5px;
.c6 {
      margin: 0 4px;
.c7 {
      margin: 0 3px;
.c8 {
      margin: 0 2px;
      height: 2px;
.c9 {
      margin: 0 1px;
      height: 3px;
.content {
      height: auto;
      padding: 0 15px;

<div id="box">
      <div class="roundborder c1"></div>
      <div class="roundborder c2"></div>
      <div class="roundborder c3"></div>
      <div class="roundborder c4"></div>
      <div class="roundborder c5"></div>
      <div class="roundborder c6"></div>
      <div class="roundborder c7"></div>
      <div class="roundborder c8"></div>
      <div class="roundborder c9"></div>
      <div class="roundborder content">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed a magna. Donec nunc. Integer justo magna, pellentesque quis, porttitor et, volutpat at, nulla. Quisque odio. Sed a neque nec wisi rhoncus scelerisque. Nulla facilisi. Cras pulvinar convallis arcu. Nullam imperdiet erat vel pede.</div>
      <div class="roundborder c9"></div>
      <div class="roundborder c8"></div>
      <div class="roundborder c7"></div>
      <div class="roundborder c6"></div>
      <div class="roundborder c5"></div>
      <div class="roundborder c4"></div>
      <div class="roundborder c3"></div>
      <div class="roundborder c2"></div>
      <div class="roundborder c1"></div>

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.