Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- Unexpected border on triangle in FF4


cranfan - 5:00 pm on Dec 8, 2011 (gmt 0)


Any ideas why the following code (to draw a triangle with CSS) has an unexpected dark border along the hypotenuse in FF4 but not previous versions of FF or any of the other mainstream browsers?

Thanks.

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Triangle with unexpected border in FF4</title>
</head>

<body style="background-color: #FFFF99;">
<div style="width: 0px; height: 0px; border-bottom-width: 100px; border-bottom-style: solid; border-bottom-color: transparent; border-left-width: 350px; border-left-style: solid; border-left-color: #FFFFFF;"></div>
</body>

</html>


Thread source:: http://www.webmasterworld.com/css/4395620.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com