Philippe Berthault
-
2009-10-15
CSS "margin" directive in styles not displayed correctly
Brought to you by:
rubensr
GnoCHM 0.9.11 (on Fedora 11) doesn't display correctly a page containing some CSS styles with "margin" directives.
With Firefox and Internet Explorer, it's OK.
Below, a small HTML page which permits to reproduce the problem:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Language" content="fr">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>GnoCHM Fedora 11 problem</title>
<style type="text/css">
.frame {
border-style: solid;
border-width: 1px;
margin: 1em 2em 0 1em;
padding: 0 1em 0.1em 1em;
}
</style>
</head>
<body>
<p><span class="frame">A text with a frame</span>
</body>
</html>