I have sort of a rounded corners deal going on. Before the design was all fixed width so I was able to just have one image for the top and bottom, but now I am switching over to percentages, so I need the corners seperate. The problem is that the top line doesnt go over far enough and the right corner gets shoved down.
here is my CSS:
Code:
#top{
min-width: 40%;
max-width: 70%;
height: 40px;
}
#tlc{
height: 40px;
width: 61px;
background: url(images/tlc.gif);
float: left;
}
#hl{
height: 40px;
background: url(images/hl.gif);
}
#trc{
height: 40px;
width: 35px;
background: url(images/trc.gif);
float: right;
}
Top is the container that the whole top peice is in. tlc is the top left corner, hl is the horizontal line nad trc is top right corner.
Here is the HTML:
HTML Code:
<div id="top">
<div id="tlc">
</div>
<div id="hl">
</div>
<div id="trc">
</div>
</div>
Here is the page its on: http://helmgames.com/redesign/index.php
annnnd finnaly here is a screenshot comparison of what it looks like, and what its supposed to look like: http://helmgames.com/random/compare.gif
|