arst06d
Programmer
- Nov 29, 2002
- 324
Hi
I am implementing curved corners using CSS as per Stu Nicholls site at but I cannot quite finish it off.
I'm using a table inside the nested div structures, and have the four curved corners OK, but cannot seem to finish off the bottom of the box, between the bottom corners.
My code is below - can anyone please help?
Thanks
David
<div style="BACKGROUND: #32659c; MARGIN: 5em 0px; WIDTH: 521px; POSITION: relative">
<div id="ctl" style="BACKGROUND: #fff; LEFT: 0px; OVERFLOW: hidden; WIDTH: 20px; COLOR: #32659c; POSITION: absolute; TOP: 0px; HEIGHT: 20px"><div id="quadtl" style="FONT-SIZE: 150px; LEFT: -8px; COLOR: #32659c; LINE-HEIGHT: 40px; FONT-FAMILY: arial; POSITION: absolute">•</div></div>
<div id="cbl" style="BACKGROUND: #fff; LEFT: 0px; OVERFLOW: hidden; WIDTH: 20px; COLOR: #32659c; POSITION: absolute; TOP: 100%; HEIGHT: 20px"><div id="quadbl" style="FONT-SIZE: 150px; LEFT: -8px; COLOR: #32659c; LINE-HEIGHT: 40px; FONT-FAMILY: arial; POSITION: absolute; TOP: -17px">•</div></div>
<div id="ctr" style="BACKGROUND: #fff; LEFT: 501px; OVERFLOW: hidden; WIDTH: 20px; COLOR: #32659c; POSITION: absolute; TOP: 0px; HEIGHT: 20px"><div id="quadtr" style="FONT-SIZE: 150px; LEFT: -25px; COLOR: #32659c; LINE-HEIGHT: 40px; FONT-FAMILY: arial; POSITION: absolute">•</div></div>
<div id="cbr" style="BACKGROUND: #fff; LEFT: 501px; OVERFLOW: hidden; WIDTH: 20px; COLOR: #32659c; POSITION: absolute; TOP: 100%; HEIGHT: 20px"><div id="quadbr" style="FONT-SIZE: 150px; LEFT: -25px; COLOR: #32659c; LINE-HEIGHT: 40px; FONT-FAMILY: arial; POSITION: absolute; TOP: -17px">•</div></div>
<TABLE cellspacing="0" cellpadding="3" BORDER="1" WIDTH="521" bordercolor="#32659c">
<tr >
<td colspan="7" height="25" valign="center" bgcolor="#32659c"><span class="LoggainRubrik"> *1. Applicants (Buyer) Details</span></td>
</tr>
<tr>
<td width="296" valign="top" style="BORDER-RIGHT: medium none; BACKGROUND-COLOR: white">
<span class="text"><label for="applicantsname">Applicant Name:</label><br>
<input name="applicantsname" id="applicantsname" maxlength="35" style="WIDTH: 250px"><br>
<br>
<label for="applicantsaddress">Full Address (including post code):</label><br><TEXTAREA id=applicantsaddress style="WIDTH: 250px" name=applicantsaddress rows=4 wrap=VIRTUAL></TEXTAREA>
</span></td>
<td width="296" valign="top" style="BORDER-LEFT: medium none; BACKGROUND-COLOR: white">
<span class="text"><label for="contactname">Contact Name:</label><br>
<input name="contactname" id="contactname" maxlength="35" style="WIDTH: 250px"><br>
<br>
<label for="applicantsphone">Telephone Number:</label><br>
<input name="applicantsphone" id="applicantsphone" maxlength="20" style="WIDTH: 250px"><br>
<br>
<label for="applicantsfax">Fax Number:</label><br>
<input name="applicantsfax" id="applicantsfax" maxlength="20" style="WIDTH: 250px"><br>
<br>
<label for="applicantreference">Applicant Reference:</label><br>
<input name="applicantreference" id="applicantreference" maxlength="16" style="WIDTH: 250px" >
</span></td>
</tr>
</TABLE>
</div>
I am implementing curved corners using CSS as per Stu Nicholls site at but I cannot quite finish it off.
I'm using a table inside the nested div structures, and have the four curved corners OK, but cannot seem to finish off the bottom of the box, between the bottom corners.
My code is below - can anyone please help?
Thanks
David
<div style="BACKGROUND: #32659c; MARGIN: 5em 0px; WIDTH: 521px; POSITION: relative">
<div id="ctl" style="BACKGROUND: #fff; LEFT: 0px; OVERFLOW: hidden; WIDTH: 20px; COLOR: #32659c; POSITION: absolute; TOP: 0px; HEIGHT: 20px"><div id="quadtl" style="FONT-SIZE: 150px; LEFT: -8px; COLOR: #32659c; LINE-HEIGHT: 40px; FONT-FAMILY: arial; POSITION: absolute">•</div></div>
<div id="cbl" style="BACKGROUND: #fff; LEFT: 0px; OVERFLOW: hidden; WIDTH: 20px; COLOR: #32659c; POSITION: absolute; TOP: 100%; HEIGHT: 20px"><div id="quadbl" style="FONT-SIZE: 150px; LEFT: -8px; COLOR: #32659c; LINE-HEIGHT: 40px; FONT-FAMILY: arial; POSITION: absolute; TOP: -17px">•</div></div>
<div id="ctr" style="BACKGROUND: #fff; LEFT: 501px; OVERFLOW: hidden; WIDTH: 20px; COLOR: #32659c; POSITION: absolute; TOP: 0px; HEIGHT: 20px"><div id="quadtr" style="FONT-SIZE: 150px; LEFT: -25px; COLOR: #32659c; LINE-HEIGHT: 40px; FONT-FAMILY: arial; POSITION: absolute">•</div></div>
<div id="cbr" style="BACKGROUND: #fff; LEFT: 501px; OVERFLOW: hidden; WIDTH: 20px; COLOR: #32659c; POSITION: absolute; TOP: 100%; HEIGHT: 20px"><div id="quadbr" style="FONT-SIZE: 150px; LEFT: -25px; COLOR: #32659c; LINE-HEIGHT: 40px; FONT-FAMILY: arial; POSITION: absolute; TOP: -17px">•</div></div>
<TABLE cellspacing="0" cellpadding="3" BORDER="1" WIDTH="521" bordercolor="#32659c">
<tr >
<td colspan="7" height="25" valign="center" bgcolor="#32659c"><span class="LoggainRubrik"> *1. Applicants (Buyer) Details</span></td>
</tr>
<tr>
<td width="296" valign="top" style="BORDER-RIGHT: medium none; BACKGROUND-COLOR: white">
<span class="text"><label for="applicantsname">Applicant Name:</label><br>
<input name="applicantsname" id="applicantsname" maxlength="35" style="WIDTH: 250px"><br>
<br>
<label for="applicantsaddress">Full Address (including post code):</label><br><TEXTAREA id=applicantsaddress style="WIDTH: 250px" name=applicantsaddress rows=4 wrap=VIRTUAL></TEXTAREA>
</span></td>
<td width="296" valign="top" style="BORDER-LEFT: medium none; BACKGROUND-COLOR: white">
<span class="text"><label for="contactname">Contact Name:</label><br>
<input name="contactname" id="contactname" maxlength="35" style="WIDTH: 250px"><br>
<br>
<label for="applicantsphone">Telephone Number:</label><br>
<input name="applicantsphone" id="applicantsphone" maxlength="20" style="WIDTH: 250px"><br>
<br>
<label for="applicantsfax">Fax Number:</label><br>
<input name="applicantsfax" id="applicantsfax" maxlength="20" style="WIDTH: 250px"><br>
<br>
<label for="applicantreference">Applicant Reference:</label><br>
<input name="applicantreference" id="applicantreference" maxlength="16" style="WIDTH: 250px" >
</span></td>
</tr>
</TABLE>
</div>