Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using attribute "left" under Netscape 6.0

Status
Not open for further replies.

linux73

Programmer
Apr 11, 2001
10
IT
Hi,
i've defined a combo box under a form as shown below:

<FORM name=&quot;contest1&quot; action=&quot;&quot;>
<TABLE CELLSPACONG=&quot;0&quot; CELLPADDING=&quot;0&quot; BORDER=&quot;0&quot;>
<TR>
<TD class=&quot;testo&quot;>
<INPUT TYPE=&quot;TEXT&quot; NAME=&quot;IMPORTO&quot;SIZE=&quot;3&quot;MAXLENGTH=&quot;3&quot;/>
</TD>
</TR>
</TABLE>
</FORM>

I use the command:
&quot;document.contest1.style.visibility&quot;
to set the visibility of my combo box,
but i can't set the &quot;left&quot; property to align my object.
I try to use the command:
&quot;document.contest1.style.left&quot;, but this no take effect !!

Can you help me ?


linux73


 
Before use of the left/top properties, style of the control should be floating. I don;t remember exactly how to specify this, but you now have a direction of the search&try.



Vlad Grynchyshyn
vgryn@softserve.lviv.ua
The professional level of programmer could be determined by level of stupidity of his/her bugs
 
try setting the tables position to absolute:

<table style=&quot;position:absolute&quot; id=&quot;formtable&quot;>

Then, you should be able to say:

var tb = document.getElementById(&quot;formtable&quot;)
tb.style.left=&quot;200px&quot; jared@eae.net -
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top