I have simple code for field:
.field { width:80%;
BACKGROUND-COLOR: #F7FAFF;
COLOR: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; FONT-SIZE: 12px; FONT-WEIGHT:bold;
BORDER-STYLE: solid;
BORDER-COLOR: #FFFFFF;
BORDER-WIDTH: 0px;
PADDING: 2px 2px 2px 2px;
and code in html which is not the same in both browsers.
Do you know what is wrong?
Code:
<TABLE CELLPADDING=0 CELLSPACING=0 border=1>
<TR>
<TD COLSPAN="4" height="20" class="field2">
Main Field1
</TD>
</TR>
<TR>
<TD COLSPAN="4"><img src=http://www.webdeveloper.com/forum/archive/index.php/"images/spacerw.gif" width="1" height="5"></TD>
</TR>
<TR valign="top">
<TD nowrap="TRUE" width="115" class="content1" >Date</TD>
<td></td>
<TD width="10"><img src=http://www.webdeveloper.com/forum/archive/index.php/"images/spacerw.gif" width="10" height="1"></TD>
<TD width="80%"><A href=http://www.webdeveloper.com/forum/archive/index.php/"" class="content2">
Name of field1</A>
<span class="news_content1"> Name1</span></TD>
</TR>
<tr>
<td><br /><br /></td>
</tr>
</TABLE>Can you be more specific in describing what you see that is different? I plugged them into both browsers and they look the same to me with the exception that the table border appears a little darker in color with no shading in NS.Width in NS is not fixed 80 %. It gives me not 80 %. In IE is O.K.
This is a problem, sorry not to be specificI have many times tested. Problem was in class. There I put width:100% and I just removed it and it works. Thanks.
.field { width:80%;
BACKGROUND-COLOR: #F7FAFF;
COLOR: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; FONT-SIZE: 12px; FONT-WEIGHT:bold;
BORDER-STYLE: solid;
BORDER-COLOR: #FFFFFF;
BORDER-WIDTH: 0px;
PADDING: 2px 2px 2px 2px;
and code in html which is not the same in both browsers.
Do you know what is wrong?
Code:
<TABLE CELLPADDING=0 CELLSPACING=0 border=1>
<TR>
<TD COLSPAN="4" height="20" class="field2">
Main Field1
</TD>
</TR>
<TR>
<TD COLSPAN="4"><img src=http://www.webdeveloper.com/forum/archive/index.php/"images/spacerw.gif" width="1" height="5"></TD>
</TR>
<TR valign="top">
<TD nowrap="TRUE" width="115" class="content1" >Date</TD>
<td></td>
<TD width="10"><img src=http://www.webdeveloper.com/forum/archive/index.php/"images/spacerw.gif" width="10" height="1"></TD>
<TD width="80%"><A href=http://www.webdeveloper.com/forum/archive/index.php/"" class="content2">
Name of field1</A>
<span class="news_content1"> Name1</span></TD>
</TR>
<tr>
<td><br /><br /></td>
</tr>
</TABLE>Can you be more specific in describing what you see that is different? I plugged them into both browsers and they look the same to me with the exception that the table border appears a little darker in color with no shading in NS.Width in NS is not fixed 80 %. It gives me not 80 %. In IE is O.K.
This is a problem, sorry not to be specificI have many times tested. Problem was in class. There I put width:100% and I just removed it and it works. Thanks.