if you look at
http://www.emrose.net/contact1.html the last field is a textarea field and I can't make it align with the
other text fields. it's pretty close, but this comes from trial and
error. what do I have to do to make these fields align both right and
left? does the size= attribute in a text input give you the same
dimension as the cols= attribute in a textarea? seems like it doesn't.
Posted by Jukka K. Korpela on March 10, 2005, 7:07 am
Please log in for more thread options
jlemay@alumni.princeton.edu wrote:
> if you look at
> http://www.emrose.net/contact1.html
Then I think you should stop worrying about minor alignment issues now
and fix the real problems first. I can't see the form unless I widen
the browser window usually and inconveniently wide, and just because
you are wasting an indecent amount of horizontal space to create a
large black area. Moreover, the field labels are horrendously small and
hard to read, especially since they are dark on black, and they aren't
even marked up as <label> elements. And you don't specify the E-mail
address for contacts, so the awful form would be the _only_ way to
contact the company; so why would a user bother?
In a word, the only way to fix the page is to redesign it from scratch.
The markup is far too messy and browser-dependent to be fixed in any
other way.
> the last field is a textarea field and I can't make it align with
> the other text fields.
You mean you can't make it take the same width. Why should it? The
width of a field should depend on its content, not on some Procrustean
esthetics. For example, making the phone field as wide as the field for
the (full) name of a person is unnatural.
> does the size= attribute in a text input give
> you the same dimension as the cols= attribute in a textarea?
It does, in the defined sense that they specify the width of the field
in (average-width) characters. The physical dimensions may vary if
different fonts are used in the fields. If you wish to do something
about this, then you would need CSS. But it's too early to consider
such nuances before you have a page that works and has reasonable
markup.
--
Yucca, http://www.cs.tut.fi/~jkorpela/ Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
Posted by jlemay on March 10, 2005, 2:25 pm
Please log in for more thread options
> And you don't specify the E-mail
> address for contacts, so the awful form would be the _only_ way to
> contact the company; so why would a user bother?
this was done to help reduce spam. why would a user bother? "I would
have gotten in touch with you, but I didn't like your form." - I just
can't see that happening, and if that were the case, it's probably
someone we're better off now knowing.
> In a word, the only way to fix the page is to redesign it from
scratch.
> The markup is far too messy and browser-dependent to be fixed in any
> other way.
that can't be right. must be a way to fix this without redesigning it
from scratch.
Posted by Jukka K. Korpela on March 10, 2005, 10:39 pm
Please log in for more thread options
jlemay@alumni.princeton.edu wrote:
>> And you don't specify the E-mail
>> address for contacts, so the awful form would be the _only_ way to
>> contact the company; so why would a user bother?
> this was done to help reduce spam.
Foolish. Spam needs to be dealth with anyway, somehow. What you achieve
is extra trouble to potential customers.
Of course, there is a 100% sure way of getting rid of spam: disconnect
from the Internet now, and never return. That's what you should do if
you want to avoid spam at any cost.
> why would a user bother?
He won't. That was my point.
> "I would have gotten in touch with you, but I didn't like your form."
So the customer is wrong? Besides, there are dozens of reasons why the
form simply won't do, and it's not a matter of like or dislike. But you
are apparently not interested. You didn't even get the point that what
you are asking for is (besides being a non-problem that you wish to
turn into a small problem) not an HTML issue, hence off-topic here.
Setting an <input> field width equal to a <textarea> width is _not_
something you can do in HTML, and I even told you why.
> - I just can't see that happening, and if that were the case, it's
> probably someone we're better off now knowing.
You are certainly sending quite a message.
>> In a word, the only way to fix the page is to redesign it from
>> scratch. The markup is far too messy and browser-dependent to be
>> fixed in any other way.
> that can't be right. must be a way to fix this without redesigning
> it from scratch.
You don't seem to want to fix anything. You just want to increase the
confusion. The page is really broken by design, and you are wasting
everyone's time if you simply insist on fine tuning something that
needs no tuning, and keep doing that in a wrong group.
--
Yucca, http://www.cs.tut.fi/~jkorpela/ Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
Posted by me on March 10, 2005, 10:13 pm
Please log in for more thread options
> if you look at
> http://www.emrose.net/contact1.html > the last field is a textarea field and I can't make it align with the
> other text fields. it's pretty close, but this comes from trial and
> error. what do I have to do to make these fields align both right and
> left? does the size= attribute in a text input give you the same
> dimension as the cols= attribute in a textarea? seems like it doesn't.
Congratulations on fixing the problem you had with the width of your fields
on this page: http://www.emrose.net/contact.html You are correct that the
cols attribute controls the width of a multi line text field. To match a
single line text field you must set the width of your multi line field to a
greater value. In this case the multi line field cols must be set to 43 and
all the other fields must be set to a size of 40 characters.
That page has some strange code. What are the anchors for? Why put the text
next to the fields inside div's? When I use a form I try to place the tags
so that they're just before and after where the form objects begin and end.
Why did you make the form tags encompass almost the whole page? What is
this?
I've never heard of a csobj tag, am I showing my ignorance? To my eyes
there's a lot of empty space on the left of that page but then I build my
pages to fit a screen size of 800x600. And instead of divs I would have used
tables to build a site like that.
s.com
I must sound nit picky. I'll shut up now.
Good Luck,
me