473,394 Members | 1,371 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Form problem

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
6 1165
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
"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
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
"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
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
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Richard | last post by:
Hi, I have a form that take some time to load due to many comboboxes and at least 8 subforms. When I filter or sort the main form I get an error message and then Access shuts down. They ask if...
15
by: Steve | last post by:
I have a form with about 25 fields. In the BeforeUpdate event of the form, I have code that sets the default value of each field to its current value. For a new record, I can put the focus in any...
5
by: Steve Strik | last post by:
My Problem: I have created a database here at work that is exhibiting some very strange behaviour. Essentially the database is structured in a manner where one table is a master record table...
1
by: Nico | last post by:
Hi! I use Windows XP and Access 2002 (XP) SP2 (not SP3) My company has not upgraded to SP3. My problem: -I have a form "F_BOMs" -in this form, i have a sub form called "SF_BOMs" -the sub-form...
3
by: dixie | last post by:
I have an Access 2000 form which has been running OK for a long time. Lately, it is playing up and doing things like causing Access to close suddenly when the form is opened or when saving the form...
9
by: Lyn | last post by:
Hi, I have a form which is opened from a button on another form. The form is used to display a list of records from a recordset in Continuous Mode. It is sized vertically to display about 25...
5
by: ortaias | last post by:
I have a form which calls up a second form for purposes of data entry. When closing the data entry form and returning to the main form, things don't work as expected. When I return to the main...
11
by: ChrisM | last post by:
Hi, Don't know if anyone can cast any light on this... I have a fairly complex C# WinForm with (amongst other) a text box and a button. The TextBox has events declared for KeyUp and KeyDown,...
0
by: hmm | last post by:
Hi all I have two problems: Problem #1: I'm using a .NET Form with the property 'FormBorderStyle' set to 'None'. The idea is to completely cover the area of that Form with a UserControl. In...
1
by: fugaki | last post by:
Hi everyone I'm learning asp, and i downloaded this script to teach me how to post form data from a webpage to an access database. I put it on the server so i could make sure that it worked, and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.