| Tony LaPaso 2005-05-15, 4:18 am |
| Hi All,
I hope I am not "over-posting" to this group. I'm coming up to speed on
CSS and so questions come along.
This seems too weird. For some reason, Firefox 1.0.4 (as well as IE
6/Win) is ignoring my 'border-width' in the code below. No matter what
I set it to, it is ignored.
If I use the full "border:" notation, everything works fine.
<!-- ========================================================== -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head><title>Absolute Java</title>
<meta http-equiv="Content-type"
content='application/xhtml+xml;charset=utf-8'/>
<style type='text/css'>
p.fred {
color: red;
border-width: 15px; /* ignored */
border: solid;
background-color: pink;
/* border: solid 15px red; /* this works! */
}
</style>
</head>
<body>
<p class='fred'>This is the first paragraph.</p>
</body>
</html>
--
Tony LaPaso
|