Forum Moderators: not2easy
I have following code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Untitled</title>
<STYLE TYPE="text/css">
<!--
.klasa { background:#ffff00;
width:260px;
font-size:90%;
text-align:center;
border:solid 2;
display:inline;
white-space: wrap
};
-->
</STYLE>
</head>
<body>
<code class=klasa><img src="image.gif" width="240" height="60" border="1">
ala ma asa</code>
<code class=webcam><img src="image.gif" width="240" height="60" border="1">
ala ma asa</code>
</body>
</html>
Everythings is fine under IE & Opera but under Netscape it does'nt work (Netscape don't see width and don't wrap the text)
I'd like to have something like that
Image1 Image2
Text Text
Does anybody know how to improve or change this style to get
it properly working under Netscape.
Thx.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Untitled</title>
<STYLE TYPE="text/css">
<!--
.klasa {
background: #ff0;
width: 260px;
font-size: 90%;
text-align: center;
border: 2px solid #000;
/*display: inline;
white-space: wrap;*/
}
-->
</STYLE>
</head>
<body>
<div class="klasa">
<code>
<img src="image.gif" width="240" height="60" border="1">
ala ma asa
</code>
</div>
<code class="webcam">
<img src="image.gif" width="240" height="60" border="1">
ala ma asa
</code>
</body>
</html>
Perhaps you need white-space: normal;?