By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,953 Members | 1,438 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,953 IT Pros & Developers. It's quick & easy.

border-width Ignored in Firefox v1.0.4 & IE 6/Win

P: n/a
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
Jul 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

Never mind... I see my error....
Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.