On Mon, 12 Jul 2004 09:50:18 +0100, Mark Tranchant
<ma**@tranchant.plus.com> wrote:
Günther Stößl wrote:
<td>
<div style="position:relative; width:100%">
<div style="position:absolute; left:0px; width:60%>... </div>
<div style="float:right; width:30%></div>
</div></td>
Yes. Close the quotes on your style declarations.
In the original html the quotes are closed, the problem isn't with the
quotes.
The total code for this part of the page:
<TD align="left" valign="top" style="height:180px;">
<DIV style="position:relative; width:100%; height:180px;">
<DIV style="float:right; width=30%; ">
<TABLE cellSpacing="1" cellPadding="1" border="0">
<TR> <TD> <a href="javascript
:addCmd('addText')">
<%=TexteUtil.get(accLang, FILENAME, "CmdaddText")%></a>
</TD> </TR> .......
</TABLE>
</DIV>
<DIV name="BESCHREIB" style="position:absolute; top:0px;
left:0px; width:60%; height:100%">
<textarea name="TEXTE" cols="60" rows="10" maxlength=1024 i
style="width:100%; height:100%;"
</textarea>
</DIV>
<DIV style="position:absolute; top:0px; left:0px; width:60%;
height:100%; visibility:hidden">
<SELECT size="12" onChange="changeCmdSelection(this);"
style="width:100%; height:100%">
</SELECT>
</DIV>
</DIV>
</TD>
Depending on another selectlist (and startupdata) the div with the
textarea is visible or the div with the selectbox and the float is
visible.
First I had the second <div> as the first element, than I set the
float as first element. In both cases, the float uses the whole width
of the table cell.
Under Intranet explorer everything works as expected.