im urgently in need of a word wrap kind of css tag that works for firefox…so the div stretches vertically when i type text…with out line breaks <p></p>
heres an example…try to add text to the nested div on the right..first in ie then in firefox…in ie the text doesnt stretch the box vertically…
[code]<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”
“http://www.w3.org/TR/html4/loose.dtd”>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>
<script language=”JavaScript” type=”text/JavaScript”>
<!–
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName==”Netscape”)&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//–>
</script>
</head>
<body bgcolor=”#ffffff”>
<div id=”Layer1″ style=”position:absolute; left:92px; top:17px; width:379px; height:223px; z-index:1; background-color: #D0D6E2; layer-background-color: #D0D6E2; border: 1px solid #ffffff;”></div>
<div id=”Layer2″ style=”position:absolute; left:472px; top:17px; width:161px; height:411px; z-index:2; background-color: #D0D6E2; layer-background-color: #D0D6E2; border: 1px solid #ffffff
;”>
<div id=”Layer3″ style=”position:absolute; left:-1px; top:-1px; width:161px; z-index:1; background-color: #D0D6E2; layer-background-color: #D0D6E2; border: 1px solid #ffffff; word-wrap:break-word;”>hhhhhhhhhhhllllllllllllllllllllllllllllllllllllll</div>
</div>
<center>
</body>
</html>