In message <
[email protected]> - Martin
:>
:>rob c wrote:
:>
:>> Whenever I use a form on a webpage, Explorer always leaves a blank line
:>> following the </form> tag but Mozilla doesn't. Is there a way to supress the
:>> blank line?
:>
:>form is a block element like div or p so what you see is probably the
:>normal layout for the block element.
:>CSS allows you to change that, see the display property for instance
:> <
http://www.w3.org/TR/CSS21/visuren.html#display-prop>
:>With inline CSS you can do e.g.
:> <form style="display: inline;">
:>or you better use a stylesheet with e.g.
:> #someForm { display: inline; }
:>and then an id attribute
:> <form id="someForm">
:>on that form element.
:>Depending on what you want to change it might also be helpful or
:>necessary to change the margin e.g.
:> <form style="margin-bottom: 0;">
:>If you have further questions on that try a tutorial on CSS and then a
:>CSS newsgroup.
:>
:>--
:>
:> Martin Honnen
:>
http://JavaScript.FAQTs.com/
As soon as you said "...form is a block element like div or p..." a small
light bulb started to flicker.
Thank you!
Rob