roscoeh23
asked on
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?
http://scottishsocialnetworks.org/home.php
Have used this previously
.Skin1 {
width:163px;
background: url(../shared/curve_mid.jp g) repeat-y left top;
}
.Skin2 {
background:url(../shared/c urve_top.j pg) 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">Vacan cies</a></ span>
</div>
</div>
</div>
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.
http://scottishsocialnetworks.org/home.php
Have used this previously
.Skin1 {
width:163px;
background: url(../shared/curve_mid.jp
}
.Skin2 {
background:url(../shared/c
}
.Skin3 {
background: url(../shared/curve_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"><
</div>
</div>
</div>
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.
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
-Mike
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
-Mike
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.