IE places strange additional spacing after an opening form tag.
I would think one would fix that using css
form {padding: 0;margin: 0}
bruce P
----- Original Message -----
From: "Shelane" <[EMAIL PROTECTED]>
To: "jQuery (English)" <jquery-en@googlegroups.com>
Sent: Wednesday, May 02, 2007 12:31 PM
Subject: [jQuery] Re: Forms, Tables and jQuery
Funny thing about placing the form tag between table markup tags. IE
places strange additional spacing after an opening form tag. Placing
the the tag between the table tags fixes the IE display issue. We had
to do it here: http://www.llnl.gov/ (The Search LLNL and Find People
form area in the header) for that very issue. It was causing the
header to have additional space above the form before we moved the
form tag between the table tags.
On May 2, 7:17 am, Christopher Jordan <[EMAIL PROTECTED]>
wrote:
I agree with Mike here. In fact, now that I code with jQuery, I've
started to
pay much more attention to my markup to see that it's correct -- or at
least
that it works with jQuery. ;o)
Chris
Mike Alsup wrote:
>> that jQuery should iterate over form.elements if special form
>> selectors are
>> used because a lot of legacy code uses incorrectly placed form tags.
> When jQuery is added to those legacy pages the developer should also
> correct the form tags (and any other bogus markup). There is no point
> trying to script on top of bad markup.
> Mike
--http://www.cjordan.us