frontline
01-20-2003, 04:45 PM
Hello
i have this simple html code :
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<style type="text/css">
.container {
overflow : auto;
border : 1px inset;
border-bottom : 0px none;
background : blue;
padding : 0px;
font : 8pt Arial, Serif;
text-align : left;
height : 390px;
width : 190px;
}
</style>
</HEAD>
<BODY>
<div class="container">
<table border="1" cellpadding="0" cellspacing="0" nowarp>
<tr style="color: #000000;">
<td nowarp>longlonglonglonglonglonglonglonglonglonglonglonglonglonglonglong longlonglonglonglonglonglong...</td>
</tr>
</table>
</div>
</BODY>
</HTML>
what im trying to do is to keep the div size the same BUT the text inside it no to break
as you can see now the long text is breaking whiteout control when .. the nowarp is not helping much.
and the bottom div scroller will support the long string ,but most important how i can keep the string not breaking
i have this simple html code :
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<style type="text/css">
.container {
overflow : auto;
border : 1px inset;
border-bottom : 0px none;
background : blue;
padding : 0px;
font : 8pt Arial, Serif;
text-align : left;
height : 390px;
width : 190px;
}
</style>
</HEAD>
<BODY>
<div class="container">
<table border="1" cellpadding="0" cellspacing="0" nowarp>
<tr style="color: #000000;">
<td nowarp>longlonglonglonglonglonglonglonglonglonglonglonglonglonglonglong longlonglonglonglonglonglong...</td>
</tr>
</table>
</div>
</BODY>
</HTML>
what im trying to do is to keep the div size the same BUT the text inside it no to break
as you can see now the long text is breaking whiteout control when .. the nowarp is not helping much.
and the bottom div scroller will support the long string ,but most important how i can keep the string not breaking