My problem is a bit tricky, but I will do my best to explain.
PROBLEM:
--------
Netscape is NOT wrapping text for the best fit. The text will not fit into my defined cell width, therefore the cell is actually larger than what is defined. This is causing my table and page not to not line up correctly. IE on the other hand will break up text into more lines if necessary to find the best fit.
CODE SETUP:
-----------
I am displaying text into a table that is pulled from a DB via ASP. The table has 13 columns, with fixed widths on the table tag and the td tags. I do not have a fixed width on the height, because I want to allow vertical growth if necessary. The site needs to be IE5+ and NS6+ compliant.
EXAMPLE:
---------
<style>
.maintext {
font-family:arial,helvetica,verdana,charcoal,sans-serif;
font-size: 9px;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
color: #000000;
text-decoration: none
}
</style>
<table cellspacing="1" cellpadding="2" width='649'>
<tr valign='middle'>
<td align='center' width='80' class='maintext' >
1111111 222222222 3333333333 44444444 555
</td>
...
...
IE: (works great!!!)
1111111
222222222
3333333333
44444444 555
NS: (whats the deal???????)
1111111 222222222
3333333333 44444444
555
Youe help would be greatly appreciated.
PROBLEM:
--------
Netscape is NOT wrapping text for the best fit. The text will not fit into my defined cell width, therefore the cell is actually larger than what is defined. This is causing my table and page not to not line up correctly. IE on the other hand will break up text into more lines if necessary to find the best fit.
CODE SETUP:
-----------
I am displaying text into a table that is pulled from a DB via ASP. The table has 13 columns, with fixed widths on the table tag and the td tags. I do not have a fixed width on the height, because I want to allow vertical growth if necessary. The site needs to be IE5+ and NS6+ compliant.
EXAMPLE:
---------
<style>
.maintext {
font-family:arial,helvetica,verdana,charcoal,sans-serif;
font-size: 9px;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
color: #000000;
text-decoration: none
}
</style>
<table cellspacing="1" cellpadding="2" width='649'>
<tr valign='middle'>
<td align='center' width='80' class='maintext' >
1111111 222222222 3333333333 44444444 555
</td>
...
...
IE: (works great!!!)
1111111
222222222
3333333333
44444444 555
NS: (whats the deal???????)
1111111 222222222
3333333333 44444444
555
Youe help would be greatly appreciated.