HighDots Forums  

<form> whitespace problem

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss <form> whitespace problem in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
bc9am
 
Posts: n/a

Default <form> whitespace problem - 05-04-2004 , 02:02 PM






Hi,

I'm having problems with the <form> tag creating some unwanted
whitespace. I did a search on this forum and came across this link:

http://www.cs.tut.fi/~jkorpela/forms/extraspace.html

Which gives a semi-work around to the problem (uses CSS). This however
does not work in Netscape 4 browsers.

Has anyone else come across another way to do this that works for
everything?

I was wondering if the <form> element was needed at all? On my page I am
just using a <select> drop-down box to change the contents of a frame on
the page (with javascript, the form never actually 'posts' anything).
Would it be legal to omit the <form> statement in this instance?

Many thanks.

Reply With Quote
  #2  
Old   
Lauri Raittila
 
Posts: n/a

Default Re: <form> whitespace problem - 05-04-2004 , 02:10 PM






In article bc9am wrote:
Quote:
Hi,

I'm having problems with the <form> tag creating some unwanted
whitespace. I did a search on this forum and came across this link:

http://www.cs.tut.fi/~jkorpela/forms/extraspace.html

Which gives a semi-work around to the problem (uses CSS). This however
does not work in Netscape 4 browsers.
Why do you care that?

Quote:
Has anyone else come across another way to do this that works for
everything?
I don't remember.

Quote:
I was wondering if the <form> element was needed at all? On my page I am
just using a <select> drop-down box to change the contents of a frame on
the page (with javascript, the form never actually 'posts' anything).
Some browsers, like Opera 5 and 6 don't like that at all. I would think
they are more popular than NN4

Quote:
Would it be legal to omit the <form> statement in this instance?
No. http://www.cs.tut.fi/~jkorpela/forms/navmenu.html#alt

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
I'm looking for work | Etsin työtä


Reply With Quote
  #3  
Old   
David Dorward
 
Posts: n/a

Default Re: <form> whitespace problem - 05-04-2004 , 02:19 PM



bc9am wrote:

Quote:
http://www.cs.tut.fi/~jkorpela/forms/extraspace.html
Which gives a semi-work around to the problem (uses CSS). This however
does not work in Netscape 4 browsers.
Does a small visual variance really matter? Netscape 4.x has a tiny market
share, and the content (which is the most important part of most websites)
is still available.

Quote:
I was wondering if the <form> element was needed at all? On my page I am
just using a <select> drop-down box to change the contents of a frame on
the page (with javascript, the form never actually 'posts' anything).
Oh dear, on two counts.

http://www.cs.tut.fi/~jkorpela/forms/navmenu.html
http://dorward.me.uk/www/frames/


--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>


Reply With Quote
  #4  
Old   
Harlan Messinger
 
Posts: n/a

Default Re: <form> whitespace problem - 05-04-2004 , 03:11 PM




"bc9am" <bc9am (AT) hotmail (DOT) com> wrote

Quote:
Hi,

I'm having problems with the <form> tag creating some unwanted
whitespace. I did a search on this forum and came across this link:

http://www.cs.tut.fi/~jkorpela/forms/extraspace.html

Which gives a semi-work around to the problem (uses CSS). This however
does not work in Netscape 4 browsers.
Just to give you another way of looking at the problem, there has come or
will come a time where each developer will decide whether it *matters* any
more about the details of a page's appearance in Netscape 4, as long as it
functions.

Quote:
Has anyone else come across another way to do this that works for
everything?

I was wondering if the <form> element was needed at all? On my page I am
just using a <select> drop-down box to change the contents of a frame on
the page (with javascript, the form never actually 'posts' anything).
Would it be legal to omit the <form> statement in this instance?
Legal, and appropriate, since the purpose of a form element is to post its
data to the server.



Reply With Quote
  #5  
Old   
Harlan Messinger
 
Posts: n/a

Default Re: <form> whitespace problem - 05-04-2004 , 03:14 PM




"Harlan Messinger" <h.messinger (AT) comcast (DOT) net> wrote

Quote:
"bc9am" <bc9am (AT) hotmail (DOT) com> wrote in message
news:xLRlc.514$fi6.201 (AT) newsfe1-win (DOT) ..
I was wondering if the <form> element was needed at all? On my page I am
just using a <select> drop-down box to change the contents of a frame on
the page (with javascript, the form never actually 'posts' anything).
Would it be legal to omit the <form> statement in this instance?

Legal, and appropriate, since the purpose of a form element is to post its
data to the server.
Let me clarify this. When using a control, whether a SELECT or another kind,
for purely client-side interaction, it's appropriate to use it without a
FORM. However, using a SELECT list for navigation is itself not a good idea.



Reply With Quote
  #6  
Old   
bc9am
 
Posts: n/a

Default Re: <form> whitespace problem - 05-04-2004 , 04:18 PM



Lauri Raittila wrote:
Quote:
In article bc9am wrote:
Which gives a semi-work around to the problem (uses CSS). This however
does not work in Netscape 4 browsers.

Why do you care that?
I know that quite a few people who view the site use Netscape 4 browsers
(15-20%)

Quote:
Some browsers, like Opera 5 and 6 don't like that at all. I would think
they are more popular than NN4
Thanks.


Reply With Quote
  #7  
Old   
Werner Partner
 
Posts: n/a

Default Re: <form> whitespace problem - 05-04-2004 , 04:42 PM



bc9am schrieb:

Quote:
Hi,

I'm having problems with the <form> tag creating some unwanted
whitespace. I did a search on this forum and came across this link:

http://www.cs.tut.fi/~jkorpela/forms/extraspace.html

Which gives a semi-work around to the problem (uses CSS). This however
does not work in Netscape 4 browsers.

Has anyone else come across another way to do this that works for
everything?

I was wondering if the <form> element was needed at all? On my page I am
just using a <select> drop-down box to change the contents of a frame on
the page (with javascript, the form never actually 'posts' anything).
Would it be legal to omit the <form> statement in this instance?

I had a similar problem, perhaps "margin:0" helps

Werner


--
-----------------------------------------------------------
Werner Partner * Tel +49 2366 886606 * Fax: 886608
mailto:kairos (AT) sonoptikon (DOT) de * http://www.sonoptikon.de
hören Sie Klassik: http://www.drmk.ch/


Reply With Quote
  #8  
Old   
Steve Pugh
 
Posts: n/a

Default Re: <form> whitespace problem - 05-04-2004 , 04:59 PM



Werner Partner <kairos (AT) sonoptikon (DOT) de> wrote:
Quote:
bc9am schrieb:

I'm having problems with the <form> tag creating some unwanted
whitespace. I did a search on this forum and came across this link:

http://www.cs.tut.fi/~jkorpela/forms/extraspace.html

Which gives a semi-work around to the problem (uses CSS). This however
does not work in Netscape 4 browsers.

I had a similar problem, perhaps "margin:0" helps
That's the CSS solution which doesn't work in NN4. :-(

Letting NN4 display a bit of extra white space is by far the easiest
solution.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <steve (AT) pugh (DOT) net> <http://steve.pugh.net/>


Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.