Not in my code. Type-o here only.
I really would NOT waste the code on the full named versions of those corners. With the syntax being different (as dresden_phoenix mentioned) you might be better off using the condensed property instead which IS consistent across browsers.
-moz-border-radius:8px 8px 0 0;
-webkit-border-radius:8px 8px 0 0;
border-radius:8px 8px 0 0;
Won’t have those issues – and lose the background-clip; unless you’re using images it tends to cause more problems than it solves.
That didn’t help.
Stupid question: Are you using a reset?
I use this in my main.css…
*{
margin: 0;
padding: 0;
}
This:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml"
lang="en"
xml:lang="en"
><head>
<meta
http-equiv="Content-Type"
content="text/html; charset=utf-8"
/>
<meta
http-equiv="Content-Language"
content="en"
/>
<style type="text/css">
/* null margins and padding to give good cross-browser baseline */
html,body,address,blockquote,div,
form,fieldset,caption,
h1,h2,h3,h4,h5,h6,
hr,ul,li,ol,ul,
table,tr,td,th,p,img {
margin:0;
padding:0;
}
img,fieldset {
border:none;
}
#boxEvents {
width:16em;
margin:1em auto;
background:#FFC;
-moz-border-radius:8px;
-webkit-border-radius:8px;
border-radius:8px;
}
#boxEvents h3 {
padding:0.3em 0.5em;
margin-bottom:0.71em;
text-align:left;
font:bold 140%/140% arial,helvetica,sans-serif;
color:#FFF;
background:#AAA;
-moz-border-radius:8px 8px 0 0;
-webkit-border-radius:8px 8px 0 0;
border-radius:8px 8px 0 0;
}
#boxEvents p {
padding:0 1em 1em;
}
</style>
</head><body>
<div id="boxEvents">
<h3>Sample heading</h3>
<p>Sample Text</p>
<!-- #boxEvents --></div>
</body></html>
Works just fine in every modern browser I throw it at,
Works for me too.
which is just part of why I’m wondering if it’s something else on the page that’s messing with you – something like why you’d even be wasting a class on that H3 in the first place…
What alternative do I have?
Debbie