J
Jeff Bowman
Andy said:In the code we see this:
<span class="corner-bottom"><span class="corner-left"></span></span>
In the CSS (I've not looked) there will be background-image rules to
show a single corner image in each of these spans.
Hi Andy, thanks for your reply.
As the markup below shows, I've included the <span> tags, but with still no
satisfactory results.
Are you able to tell why theirs is working and mine isn't?
http://groups.yahoo.com/
Thanks.
-------------------------------------------------------------------------------
<html>
<head>
<title>Rounded Corners</title>
<style>
/* Container with Rounded Corner Border */
.ygrp-container-border {
border:1px solid #7b9ebd;
width:auto;
margin:0 0 5px 0;
padding:0;
}
#ygrp-home .corner-top {
background-image:url(http://us.i1.yimg.com/us.yimg.com/i/yg/img/ui/cr_y_gry_ne.gif);
}
#ygrp-home .corner-top .corner-left {
background-image:url(http://us.i1.yimg.com/us.yimg.com/i/yg/img/ui/cr_y_gry_nw.gif);
}
#ygrp-home .corner-bottom {
background-image:url(http://us.i1.yimg.com/us.yimg.com/i/yg/img/ui/cr_y_gry_se.gif);
}
#ygrp-home .corner-bottom .corner-left {
background-image:url(http://us.i1.yimg.com/us.yimg.com/i/yg/img/ui/cr_y_gry_sw.gif);
}
</style>
</head>
<body>
<div class="ygrp-container-border" id="ygrp-home">
<span class="corner-top"><span class="corner-left"></span></span>
Rounded Corners?
<span class="corner-bottom"><span class="corner-left"></span></span>
</div>
</body>
</html>