I am trying to use an external style sheet to create a round cornered
box. I am have difficulties correctly referencing my class in my
style sheet. I am posting an excerpt from my style sheet:
<code>div.prodlinks {font-family:Aria; float:right;
vertical-align:top; font-size:10px; background-color:#efbc24; }
div.prodlinks h1 {font-weight:bold; text-decoration:none;
font-size:12px;font-family:Arial;margin: 0 10px;
margin-bottom:0.5em;color:#993300}
div.prodlinks ul { list-style-type:none; font-family:Aria; margin: 0
10px; padding: 0;}
div.prodlinks ul li {text-indent:0.2em; text-align:left;margin:
0.1em; padding: 0;font-size:12px; line-height:120%;}
div.prodlinks ul a {text-decoration:none; color:#000000; }
div.prodlinks ul a:link { color:#000000}
div.prodlinks ul a:visited { color:#000000}
div.prodlinks ul a:hover {color:#993366}
div.wtloss {float:right; vertical-align:top; margin:0.8em;
border-spacing:1em; border-width:1em;}
.roundcont {
width: 250px;
background-color: background-color:#efbc24;
color: #fff;
}
..roundtop {
background: url(images/tr.gif) no-repeat top right ! important;
border-width:thick; border-color:Green;
}
..roundbottom {
background: url(images/br.gif) no-repeat top right ! important;
}
img.corner {
width: 15px;
height: 15px;
border: none;
display: block !important;
}
</code>
the img.corner and all of the div.prodlinks styles are correctly
rendered.
excerpt from html:
<code>
<div class="prodlinks">
<div class="roundtop"><img src="images/tl.gif" alt="" width="15"
height="15" class="corner" style="DISPLAY: none"> </div>
<h1>More on Aller-7®</h1> <ul>
<li><a href="../FAQs/Aller_7_faqs.aspx">Aller-7® FAQs </a></li>
<li><a href="../research/research.aspx#Aller_7">Aller-7®
Research</a></li>
<li><a href="../news/news.aspx#Aller_7">Aller-7® News</a></li>
<li><a href="../comments/successstory1.aspx">Success Stories</a></li>
</ul>
<div class"roundbottom"><img src="images/bl.gif" alt="" width="15"
height="15" class="corner" style="DISPLAY: none"></div>
</div>
</code>
I can not figure out how to write my CSS to correctly apply style to
the internal div elements with the "roundtop" and "roundbottom"
classes.
I look forward to you assistance.