firefox doesn't show a formular

L

lukas.zierer

hi there!

i've got a little problem with mozilla firefox. open
http://www.biancoblu.ch/index.php5?id=contact once in internet explorer
and once in firefox. you'll see, the formular won't be shown in
firefox. when you have a look at the pages source code, it looks like a
normal one.

it will be shown, when i remove the <form> tag, but that's not what i
want because what i want is a working contact formular.

at the end of this message you'll find a snippet of the page's source
code.

thank you for helping me
lukas

<div id="content">
<table cellpadding="0" cellspacing="0" width="100%"
height="100%">
<tr>
<td width="100%" height="100%">
<p class="content">
<form action="./index.php5" method="POST">


<input type="hidden" name="id" value="contact">
name: <input class="textfield" type="text" name="name" value=""><br>
e-mail: <input class="textfield" type="text" name="email"
value=""><br>
<textarea name="message"></textarea><br>
<input class="button" type="submit" name="sendmail" value="senden">
</form> </p>
</td>


</tr>
</table>
</div>
 
D

Dylan Parry

it will be shown, when i remove the <form> tag, but that's not what i
want because what i want is a working contact formular.

The problem is probably caused by the fact you have your <form> element
within a <p> element. This isn't allowed, so the browser is probably
ignoring it or getting confused about what it should do. I suggest that
you validate your code if you are having problems.
 
R

rf

Dylan said:
Programming, n: A pastime similar to banging one's head
against a wall, but with fewer opportunities for reward.

One can stop banging one's head against a wall.

Having started, one can *not* stop programming.

Cheers
Richard.
 
D

Dylan Parry

rf said:
One can stop banging one's head against a wall.

Well... once you get into the rhythm ;)
Having started, one can *not* stop programming.

One /can/ always stop, but then one will forget what the code was
supposed to do, as inevitably one will choose to stop shortly before a
liberal sprinkling of helpful comments occurred :(
 
R

rf

Dylan said:
rf wrote:

One /can/ always stop, but then one will forget what the code was
supposed to do, as inevitably one will choose to stop shortly before a
liberal sprinkling of helpful comments occurred :(

Comments? Bah Humbug.

The code was bloody difficult to write! It should be bloody difficult to
debug. :)

Cheers
Richard.
 
D

Dylan Parry

rf wrote:

[Comments]
The code was bloody difficult to write! It should be bloody difficult to
debug. :)

I take a slightly different approach here. I write my comments in code,
so that although the code was /bloody/ difficult to write, it's easy for
*me* to debug, but the rest of society can bugger off ;)
 
J

Jonathan N. Little

hi there!

i've got a little problem with mozilla firefox. open
http://www.biancoblu.ch/index.php5?id=contact once in internet explorer
and once in firefox. you'll see, the formular won't be shown in
firefox. when you have a look at the pages source code, it looks like a
normal one.

it will be shown, when i remove the <form> tag, but that's not what i
want because what i want is a working contact formular.

at the end of this message you'll find a snippet of the page's source
code.

thank you for helping me

Aside that you should lose the table and the deprecated markup you have
your P element in the wrong place it should go *after* the opening FORM
tag like:

<form ... >
<p>
<input ... >
...
</p>
</form>

NOT:

<p>
<form ... >
<input ... >
...
</form>
</p>


Make that change and your email form will 'appear'
 
J

jojo

Dylan said:
The problem is probably caused by the fact you have your <form> element
within a <p> element. This isn't allowed, so the browser is probably
ignoring it or getting confused about what it should do. I suggest that
you validate your code if you are having problems.
Yes. Validate first and see what cruel mistakes you made. But before
validating add a doctype, the validator loves to find one...

A few comments: tables are for viewing tabular data - so don't use it
for layout.
Try not to mix up CSS and layout information in HTML. Leave out all you
height, width, ... attributes and replace them by CSS.

BTW: German "Formular" is not "formular" in English ("formula" would be
"Formel" in German) but just "form".
 
J

jojo

BTW, the "you" in my last post is the OP, not Dylan. (Just that nobody
misunderstands that again...)
 
D

Dylan Parry

Alan said:
Welsh? SCNR.

The main requirement is that *I* be able to understand my comments.
Despite being born in Wales, having a very Welsh name, and currently
residing in Wales, I (perhaps surprisingly) cannot understand a word of
Welsh ;)
 
J

Jonathan N. Little

jojo said:
BTW, the "you" in my last post is the OP, not Dylan. (Just that nobody
misunderstands that again...)

One way to avoid the confusion is to put your comments after Lukas's
quote and not Dylan's.
 
B

Bob Long

i've got a little problem with mozilla firefox. open
http://www.biancoblu.ch/index.php5?id=contact once in internet explorer
and once in firefox. you'll see, the formular won't be shown in
firefox. when you have a look at the pages source code, it looks like a
normal one.

Ah, you mean "form", I think.
it will be shown, when i remove the <form> tag, but that's not what i
want because what i want is a working contact formular.

Have you validated? http://validator.w3.org/
 
B

Bobbo

Dylan said:
Despite being born in Wales, having a very Welsh name, and currently
residing in Wales, I (perhaps surprisingly) cannot understand a word of
Welsh ;)

The opposite of me then - I wasn't born in Wales, don't really have a
Welsh sounding name and don't presently live in Wales, but can (just
about) understand some Welsh ;-) [I grew up there but moved away]

Try commenting in Haiku, it really gets the old grey matter fired up!

(I'll stop this OT sub-thread here)
 
L

lukas

And that's almost exactly what Dylan answered in the first reply you got..

did i say something different?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top