JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 5th, 2001, 03:34 PM
ctranchina ctranchina is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: Atlanta, GA
Posts: 1 ctranchina User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I have an ASP page which is using a DHTML Scrolling text area to display an Order. It seems that the FORM elements withing this area are causing problems though. Depending where the FORM tags are placed, the page renders differently cross NN4.7 and IE5. Some of the elements have either lost their functionality, links do not work...Is there any concensus on why and where these FORM tags should be placed or where my problem may be?

Reply With Quote
  #2  
Old February 7th, 2001, 06:54 PM
jblanding jblanding is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Posts: 2 jblanding User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Forms trouble

I have noticed that form elements within TABLES can be very buggy across browsers/systems. Things to watch out for are overlapping styles (better to stop and start them, despite what you would think from the title - "Cascading" Style Sheets), styles set in the enclosing structural tags (better to use SPAN within table cells than setting the style in the TD, if there is more than one esp), multiple form elements in same TD, and unclosed form tags.

also, the placement of the opening and closing <FORM ACTION="" METHOD=""> and </FORM> tags can cause bugs. when possible i put these tags first and last, respectively, within the BODY and /BODY tags. often this cannot be done, however, in which case you should make sure they are not inside TABLE elements, but rather in-between them - for example, <TABLE><FORM><TR><TD></TD></TR></FORM></TABLE>. make sure they are symetrically nested.

another thing that causes inconsistent bugs with FORM elements is applying CSS to them directly, such as trying to set the font size within a text input box or some such. it can be done for some browsers/systems, but is buggy and should be checked.

hope this helps




Reply With Quote
  #3  
Old February 7th, 2001, 10:40 PM
adios adios is offline
Senior Citizen
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2001
Location: leftcoast
Posts: 2,019 adios User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 15
You said the magic word - 'DHTML' - are you by chance using Nav 4 layers? Every <layer>/<ilayer> contains its own document object, and if you attempt to distribute separate form elements across these documents you'll lose all functionality. Any <form> in a Layer must be enclosed wholly in that Layer.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignJavaScript Development > FORM elements in DHTML Scrolling Area

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap