Forum Moderators: open

Message Too Old, No Replies

div tags inside a table

         

slips9

3:03 am on Feb 26, 2003 (gmt 0)

10+ Year Member



I am having a few problems using div tags in my html. Example of my code below.

<tr>
<td width="185" align="left" valign="top">
<div id="divCont">
<div class="clTop" id="divTop1">
<img border="0" height="1" width="14" src="/images1.gif"><a href="#" class="clMain" onclick="menu(0); return false"><img border="0" height="9" width="9" id="imgA0" name="imgA0" src="/images2.gif">&nbsp;Information</a><br>
<div class="clSub" id="divSub1">
<img border="0" height="7" width="7" src="/images3.gif"><a href="/1.html" class="clSubb">test1</a><br>
<img border="0" height="7" width="7" src="/images3.gif"><a href="/2.html" class="clSubb">test2</a><br>

</div>&nbsp;
</div>
</div>
</td>
</tr>
<tr>
<td>text goes in here</td>
</tr>

My problem is that the div tags menu works fine in NN4.79 but any text you entered is covered by the menu. However when displaying the code in Mozilla 1.1 the layout is fine but the div tags menu does not work. Any suggestions?

slips9

3:22 am on Feb 26, 2003 (gmt 0)

10+ Year Member



Found something weird in NN4.79. Looks like it's not putting the div tags code in the table cell.

rogerd

3:26 am on Feb 26, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Everything is weird about CSS and Netscape 4.xx. Typically, only 2% or less of your visitors will be affected. If you are worried about them, or if your site attracts an unusually higher percentage of Netscape 4.x visitors, write the code so that the site degrades gracefully. Try the @import hack, too.