By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,473 Members | 1,278 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,473 IT Pros & Developers. It's quick & easy.

Form problem

P: n/a
So below is a segment of code produced by my script.

I totally removed the CSS link, etc, so it would JUST be what's here. The
edit field seems to come with some extra padding, so I would have to make it
size 10 to get it to not push the second column too much, but even then I
can see it does affect it.

If I remove the text input fields and replace it with just garbage text, the
table comes out all nice and even.

Am guessing there some attribute about TEXT INPUT fields I don't know about?

Thanks ahead....as always.
<table border="1" width="500" bordercolor="#ff6600" cellpadding="5">
<tr>
<td WIDTH="250" ALIGN="RIGHT" VALIGN="MIDDLE">
Email
</td>
<td WIDTH="250" ALIGN="LEFT" VALIGN="MIDDLE">
<input type="hidden" name="stage" value='1'>

<input type="text" name="email" value="" maxlength="64" size="30">
</td>
</tr>
Sep 24 '08 #1
Share this Question
Share on Google+
6 Replies


P: n/a
Daniel Kaplan wrote:
So below is a segment of code produced by my script.
"So"? It suggests that you are continuing some discussion. And where is the
_full_ code? That is, why don't you post a URL? Throwing fragments at us is
not constructive.
I totally removed the CSS link, etc, so it would JUST be what's here.
What are you talking about? Referring to some undisclosed course of events?
The edit field seems to come with some extra padding,
What extra padding? Extra as in addition to what?

And I don't think it's padding in the edit field. It's just the padding in
the _cell_, simply because the field happens to be narrower than the cell.
Try setting font size to 64pt and you'll see something quite different.
If I remove the text input fields and replace it with just garbage
text, the table comes out all nice and even.
Sounds like you have encountered yet another oddity in some unnamed
browser's rendering algorithm. Why don't you just avoid the mess=
<table border="1" width="500" bordercolor="#ff6600" cellpadding="5">
Why do you set width in pixels? What happens when the user sets font size
to, say, 64 points?
<tr>
<td WIDTH="250" ALIGN="RIGHT" VALIGN="MIDDLE">
Email
</td>
<td WIDTH="250" ALIGN="LEFT" VALIGN="MIDDLE">
<input type="hidden" name="stage" value='1'>

<input type="text" name="email" value="" maxlength="64" size="30">
</td>
</tr>
Why don't you simply use a table without any width settings?

Or just a <fieldset>, instead of a <table>?

--
Yucca, http://www.cs.tut.fi/~jkorpela/

Sep 24 '08 #2

P: n/a
"Jukka K. Korpela" <jk******@cs.tut.fiwrote in message
news:Ss*******************@reader1.news.saunalahti .fi...
Daniel Kaplan wrote:

"So"? It suggests that you are continuing some discussion. And where is
the _full_ code? That is, why don't you post a URL? Throwing fragments at
us is not constructive.

I'll tell you what Jukka...cause I've seen your posts before: I would
rather not solve this problem than have to read your posts. I mean that
seriously. You don't like that I don't post my email, maybe other people
don't either. You don't like that I don't put up links, again am sure
others don't either.

Yet the others aren't giving me grief. Maybe they're the ones answering my
posts, just without the attitude. Or they jsut ignore me. But someone
always suggests something...without me having to read the snappy comebacks
or the likes.

So please...when you see my name, just don't read the post. Assume I've put
in there everything you dislike (or omited all you want).

Or just put me on your "drop" list...seriously.
Sep 24 '08 #3

P: n/a
RW
Daniel Kaplan schreef:
"Jukka K. Korpela" <jk******@cs.tut.fiwrote in message
news:Ss*******************@reader1.news.saunalahti .fi...
>Daniel Kaplan wrote:

"So"? It suggests that you are continuing some discussion. And where is
the _full_ code? That is, why don't you post a URL? Throwing fragments at
us is not constructive.


I'll tell you what Jukka...cause I've seen your posts before: I would
rather not solve this problem than have to read your posts. I mean that
seriously. You don't like that I don't post my email, maybe other people
don't either. You don't like that I don't put up links, again am sure
others don't either.

Yet the others aren't giving me grief.
So far, after more than 12 hours, they haven't given you anything.
Maybe they're the ones answering my
posts, just without the attitude. Or they jsut ignore me.
Could be.
But someone
always suggests something...
Why don't you give us a URL.

without me having to read the snappy comebacks
or the likes.
Oh, I'm sorry.

(couldn't help myself)
--
Rob
Sep 24 '08 #4

P: n/a
"RW" <ro************@hotmail.comwrote in message
news:48*********************@news.xs4all.nl...
Daniel Kaplan schreef:
>"Jukka K. Korpela" <jk******@cs.tut.fiwrote in message
news:Ss*******************@reader1.news.saunalaht i.fi...
>>Daniel Kaplan wrote:
>Maybe they're the ones answering my posts, just without the attitude. Or
they jsut ignore me.

Could be.
>But someone always suggests something...

Why don't you give us a URL.

>without me having to read the snappy comebacks or the likes.

Oh, I'm sorry.

(couldn't help myself)
While not here, you can look for my other posts....and serioiusly, you must
have something else to do other than to waste your time writing a post that
serves no purpose. And everyone else's time having to read it when it
contained nothing.

Isn't that what the newsgroups are for? For "everyone" who needs a little
hand to find it? Not to go back and forth for nothing?

Those that make the really bad posts, or just post "do my hoework for me
please" posts, eventually go away.

Thiss is a waste, now someone else I have to ignore.

I wonder if this is why "forums" are becoming a better place for questions.
Sep 24 '08 #5

P: n/a
RW
Daniel Kaplan schreef:
"RW" <ro************@hotmail.comwrote in message
news:48*********************@news.xs4all.nl...
>Daniel Kaplan schreef:
>>"Jukka K. Korpela" <jk******@cs.tut.fiwrote in message
news:Ss*******************@reader1.news.saunalah ti.fi...
Daniel Kaplan wrote:

Maybe they're the ones answering my posts, just without the attitude. Or
they jsut ignore me.
Could be.
>>But someone always suggests something...
Why don't you give us a URL.

>>without me having to read the snappy comebacks or the likes.
Oh, I'm sorry.

(couldn't help myself)

While not here, you can look for my other posts....and serioiusly, you must
have something else to do other than to waste your time writing a post that
serves no purpose. And everyone else's time having to read it when it
contained nothing.

Isn't that what the newsgroups are for? For "everyone" who needs a little
hand to find it? Not to go back and forth for nothing?

Those that make the really bad posts, or just post "do my hoework for me
please" posts, eventually go away.

Thiss is a waste, now someone else I have to ignore.

I wonder if this is why "forums" are becoming a better place for questions.

I'm being serious now:

I can understand that you don't like the first two of Jukka's remarks
although I don't think they're as bad as you seem to think.

But for the rest he really made good points.
He mostly does.

As for my own post: I really had nothing better to do,
just unwinding a little bit.

--
Rob

Sep 24 '08 #6

P: n/a
"RW" <ro************@hotmail.comwrote in message
news:48*********************@news.xs4all.nl...
Daniel Kaplan schreef:
I'm being serious now:

I can understand that you don't like the first two of Jukka's remarks
although I don't think they're as bad as you seem to think.

But for the rest he really made good points.
He mostly does.

As for my own post: I really had nothing better to do,
just unwinding a little bit.

--
Rob
Understood, happens to everyone, myself included. In the end I actually
took his comment and removed the fix width variable. Which brings other
formatting problems....but I needed to move on.
Sep 24 '08 #7

This discussion thread is closed

Replies have been disabled for this discussion.