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!

Form element inside DIV

Status
Not open for further replies.

Streetdaddy

Programmer
Jun 10, 1999
161
AU
In IE I have some popup layers that contain input and select boxes. The layers have onMouseover's that make them stay visible, but when the cursor is over the form elements, the layers hides itself. Miles
vmiles@senet.com.au
 
Try taking the FORM tags out of the DIV tag?

<FORM>
<DIV>
</DIV>
</FORM>

This should still be valid HTML (as per W3C)..

I presume when you say &quot;layers&quot;, you're not using the NS4 LAYER tag, right? Liam Morley
imotic@hotmail.com
&quot;light the deep, and bring silence to the world.

light the world, and bring depth to the silence.&quot;
 
At the moment Im using DIV but once Ive got it going in IE im going to have to port it all over to Netscape, somehow X-)

I was thinking that I might use the LAYER tag for that, but ive never actually used it before! Miles
vmiles@senet.com.au
 
definitely DON'T use the LAYER tag :eek:) the only browser that supports it is NS4.. not IE, and not NS6. The reason that NS6 doesn't support it is because it's not standard.. and the reason that it's not standard is because it's an awful solution, although I won't get into that. Bottom line is, don't use the LAYER tag. EVER. :eek:) Liam Morley
imotic@hotmail.com
&quot;light the deep, and bring silence to the world.

light the world, and bring depth to the silence.&quot;
 
Problem is, I dont really have a choice! Thankfully the site is CFML based so I dont any overheads for browser detection and outputting HTML based on the user agent.

But Ive never used LAYER tags before and I've heard they are fairly limited compared to ILAYER and DIV. Miles
vmiles@senet.com.au
 
not true; you can do anything you want with DIV. LAYER tag is the limited tag- it only works on one version of one browser, and it's not even the most popular browser! Liam Morley
imotic@hotmail.com
&quot;light the deep, and bring silence to the world.

light the world, and bring depth to the silence.&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top