Computer Webmaster Gaming Console Graphics Forum

Welcome to the Computer Webmaster Gaming Console Graphics Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

MK PitStop Main Earn $25 Earn Money Posting Extras Members Blogs Image Hosting User Pages
Go Back   Computer Webmaster Gaming Console Graphics Forum > Webmaster Forum > Website Coding > HTML
Register FAQ/Rules Become A V.I.P. Member Search Today's Posts Mark Forums Read

HTML HTML problems, maybe you are trying to code for MySpace. Get all the HTML coding help here for your website.

Google
Reply
 
LinkBack Thread Tools Display Modes
Old 07-01-2007, 12:22 PM   #1
Elliot Lewis
 
Elliot Lewis's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Form elements not same size (text / textarea)

I have created a simple form with these elements: input type text and
textarea.

The text areas have scrollbars. By visually looking at the form in I.E. 6 I
have set their size and cols values to 18, and they are both the same width
hand look good.

In my browser they line up, but look different in I.E. 5 and 5-5 and more
annoyingly different on the clients machine under I.E. 6.

Is there a way to keep these form elements the same width?

Elliot.


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Advertisements
Old 07-01-2007, 12:22 PM   #2
blib
 
blib's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Form elements not same size (text / textarea)

> In my browser they line up, but look different in I.E. 5 and 5-5 and more
> annoyingly different on the clients machine under I.E. 6.
>
> Is there a way to keep these form elements the same width?
>
> Elliot.
>

I remember having to do this for a fussy client a few years back who wanted
his form to look the same in both IE4+ and NN 4.x . I used a bit of
unreliable JS to find out the User Agent and then created the form elements
on the fly with JS varying the size attribute.

Thomas


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 07-01-2007, 12:22 PM   #3
Elliot Lewis
 
Elliot Lewis's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Form elements not same size (text / textarea)

I was hoping it wouldn't come to that. My main concern is the same form
having different width in I.E. 6 on different machines.
Surely the same browser should look the same on all versions of windows?

"blib" <blib@blob.com> wrote in message
news:bd74qk$ps81b$1@ID-197497.news.dfncis.de...
> > In my browser they line up, but look different in I.E. 5 and 5-5 and

more
> > annoyingly different on the clients machine under I.E. 6.
> >
> > Is there a way to keep these form elements the same width?
> >
> > Elliot.
> >

> I remember having to do this for a fussy client a few years back who

wanted
> his form to look the same in both IE4+ and NN 4.x . I used a bit of
> unreliable JS to find out the User Agent and then created the form

elements
> on the fly with JS varying the size attribute.
>
> Thomas
>
>



 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 07-01-2007, 12:22 PM   #4
Beauregard T. Shagnasty
 
Beauregard T. Shagnasty's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Form elements not same size (text / textarea)

Elliot Lewis pounced upon this pigeonhole and pronounced:

[top posting corrected]
>
> "blib" <blib@blob.com> wrote in message
> news:bd74qk$ps81b$1@ID-197497.news.dfncis.de...
> > > In my browser they line up, but look different in I.E. 5 and 5-5 and

> more
> > > annoyingly different on the clients machine under I.E. 6.
> > >
> > > Is there a way to keep these form elements the same width?
> > >
> > > Elliot.
> > >

> > I remember having to do this for a fussy client a few years back who

> wanted
> > his form to look the same in both IE4+ and NN 4.x . I used a bit of
> > unreliable JS to find out the User Agent and then created the form

> elements
> > on the fly with JS varying the size attribute.
> >
> > Thomas
> >


> I was hoping it wouldn't come to that. My main concern is the same form
> having different width in I.E. 6 on different machines.
> Surely the same browser should look the same on all versions of windows?


Surely all your visitors cannot have the exact same window sizes, default
font sizes, screen resolution, maximized or otherwise browser.

You can't make them all look alike. You can't even make them look alike
for the *same* version of a browser.

What will you do when they start installing Mozilla or Opera? ..which
they will do as soon as the "Microsoft has stopped developing IE" gets
around more.

--
-bts
-This space intentionally left blank.
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 07-01-2007, 12:24 PM   #5
Elliot Lewis
 
Elliot Lewis's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Form elements not same size (text / textarea)

Don't be an idiot.
I do expect a table with width 100 to be the same relational size across all
versions of the same browser.
Therefore I expect a text field of 18 to be the same width as a textarea of
18.
Obviously you don't care about professional looking work.



"Beauregard T. Shagnasty" <a.nony.nous@nowhere.invalid> wrote in message
news:lAGJa.27280$1n.24337@twister.nyroc.rr.com...
> Elliot Lewis pounced upon this pigeonhole and pronounced:
>
> [top posting corrected]
> >
> > "blib" <blib@blob.com> wrote in message
> > news:bd74qk$ps81b$1@ID-197497.news.dfncis.de...
> > > > In my browser they line up, but look different in I.E. 5 and 5-5 and

> > more
> > > > annoyingly different on the clients machine under I.E. 6.
> > > >
> > > > Is there a way to keep these form elements the same width?
> > > >
> > > > Elliot.
> > > >
> > > I remember having to do this for a fussy client a few years back who

> > wanted
> > > his form to look the same in both IE4+ and NN 4.x . I used a bit of
> > > unreliable JS to find out the User Agent and then created the form

> > elements
> > > on the fly with JS varying the size attribute.
> > >
> > > Thomas
> > >

>
> > I was hoping it wouldn't come to that. My main concern is the same form
> > having different width in I.E. 6 on different machines.
> > Surely the same browser should look the same on all versions of windows?

>
> Surely all your visitors cannot have the exact same window sizes, default
> font sizes, screen resolution, maximized or otherwise browser.
>
> You can't make them all look alike. You can't even make them look alike
> for the *same* version of a browser.
>
> What will you do when they start installing Mozilla or Opera? ..which
> they will do as soon as the "Microsoft has stopped developing IE" gets
> around more.
>
> --
> -bts
> -This space intentionally left blank.



 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 07-01-2007, 12:24 PM   #6
William Tasso
 
William Tasso's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Form elements not same size (text / textarea)

Elliot Lewis wrote:
[please don't top post]
> "Beauregard T. Shagnasty" <a.nony.nous@nowhere.invalid> wrote in
> message news:lAGJa.27280$1n.24337@twister.nyroc.rr.com...
>> Elliot Lewis pounced upon this pigeonhole and pronounced:
>>
>> [top posting corrected]
>>>
>>> "blib" <blib@blob.com> wrote in message
>>> news:bd74qk$ps81b$1@ID-197497.news.dfncis.de...
>>>>> In my browser they line up, but look different in I.E. 5 and 5-5
>>>>> and more annoyingly different on the clients machine under I.E. 6.
>>>>>
>>>>> Is there a way to keep these form elements the same width?
>>>>>
>>>>> Elliot.
>>>>>
>>>> I remember having to do this for a fussy client a few years back
>>>> who wanted his form to look the same in both IE4+ and NN 4.x . I
>>>> used a bit of unreliable JS to find out the User Agent and then
>>>> created the form elements on the fly with JS varying the size
>>>> attribute.
>>>>
>>>> Thomas
>>>>

>>
>>> I was hoping it wouldn't come to that. My main concern is the same
>>> form having different width in I.E. 6 on different machines.
>>> Surely the same browser should look the same on all versions of
>>> windows?

>>
>> Surely all your visitors cannot have the exact same window sizes,
>> default font sizes, screen resolution, maximized or otherwise
>> browser.
>>
>> You can't make them all look alike. You can't even make them look
>> alike for the *same* version of a browser.
>>
>> What will you do when they start installing Mozilla or Opera?
>> ..which they will do as soon as the "Microsoft has stopped
>> developing IE" gets around more.
>>

> Don't be an idiot.


may not be the most efficient motivational method to get the best out of
people

> I do expect a table with width 100 to be the same relational size
> across all versions of the same browser.


100 what?

> Therefore I expect a text field of 18 to be the same width as a
> textarea of 18.


18 what?

> Obviously you don't care about professional looking work.


hmm - you really are trying hard to alienate the helpful and knowledgeable.
good luck.

--
William Tasso - http://www.WilliamTasso.com


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 07-01-2007, 12:24 PM   #7
rf
 
rf's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Form elements not same size (text / textarea)


"Elliot Lewis" <elewis@pixel-kit.com> wrote in message
news:bd92b1$gcv$1@sparta.btinternet.com...
>
>
> "Beauregard T. Shagnasty" <a.nony.nous@nowhere.invalid> wrote in message
> news:lAGJa.27280$1n.24337@twister.nyroc.rr.com...
> > Elliot Lewis pounced upon this pigeonhole and pronounced:
> >
> > [top posting corrected]
> > >
> > > "blib" <blib@blob.com> wrote in message
> > > news:bd74qk$ps81b$1@ID-197497.news.dfncis.de...


> > > > > In my browser they line up, but look different in I.E. 5 and 5-5

and

> > Surely all your visitors cannot have the exact same window sizes,

default
> > font sizes, screen resolution, maximized or otherwise browser.


[top posting corrected AGAIN]

<rant>

> Don't be an idiot.


The very first thing one must do to open a straw man argument
( http://www.google.com.au/search?q=%2...an+argument%22 )
is to call ones opponent to order and to suggest that they may be of less
than acceptable intelligence. This is mandatory. It sets the tone for the
argument and casts the first seed of doubt into the mind of the casual
observer.

> I do expect a table with width 100 to be the same relational size across

all
> versions of the same browser.


One then provides some irrelevant information or opinion which everybody
must agree with, since it is usually quite true and accurate. This part of
ones argument builds on the seed of doubt instilled earlier on and lulls the
casual observer into a sense of security, leading said observer to believe
that one actually does have something useful and meaningful to say.

> Therefore I expect a text field of 18 to be the same width as a textarea

of
> 18.


After this one presents the meat of the straw man argument. One rides on the
sense of security and camaraderie one has established with the casual
observer and one sneakily flows into the argument the assertion that what
one "wants", *must* be so. It is crucial that one makes this part of the
argument unambiguous and not open to any sort of questioning or evaluation b
y the casual observer. It MUST be so. I EXPECT this to happen. This IS the
way it is.

> Obviously you don't care about professional looking work.


One closes out ones argument with a parting shot at ones opponent, perhaps
questioning their professional qualifications to have any sort of opinion at
all on the matter to hand. Ones opponents reputation and even intelligence
is now under serious evaluation and any argument ones opponent may have made
is in tatters and must be seriously suspect.

</rant>


The subject of specifying the width of input elements in a consistent manner
across different browsers is raised in this newsgroup and in most of the
others at least once a month.

The general consensus is that no matter what is suggested it will never,
ever, look the same on all browsers. Some of them are wildly different.

This consensus is largely made by people who have been intimately involved
with HTML and the web in general for many years, many of them since its
inception.

Further consensus is that it does not matter. If a particular browser
renders the elements at a different width then it will have done so for all
pages the user of that browser has ever viewed. That user will be used to
seeing them like that.

The generally accepted rule is that there is no future in trying to make the
input elements pixel perfect in all browsers and that such time spent trying
to do so would be far better expended on refining the content of the page.

Cheers
Richard.


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 07-01-2007, 12:24 PM   #8
Steve Pugh
 
Steve Pugh's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Form elements not same size (text / textarea)

"Elliot Lewis" <elewis@pixel-kit.com> wrote:

>Don't be an idiot.


Who is top posting and using insults?

>I do expect a table with width 100 to be the same relational size across all
>versions of the same browser.


Irregardless of the content of the table and the user's default font
size?

<table width="100"><tr><td>Hello!</td></tr></table>
Try that with a font size that means that the word Hello! can not fit
within 100 pixels.

The specs are quite clear that table widths are suggestions only and
that the browser should ignore them if the content demands that they
do so.

>Therefore I expect a text field of 18 to be the same width as a textarea of
>18.


<input size="18">
The 18 is the number of average width characters. The average width of
a character varies with the font used, and the size of the font. As
the different users may have very different font sizes set in their
configurations there is no way you can expect the same input to be the
same width in all browsers, even if they have the same name and
version number.

And you've probably already noticed that
<input size="18"> and <textarea cols="18"> don't give the same width
in many browsers anyway.

Your expectations are quite unrealistic.

>Obviously you don't care about professional looking work.


Yeah whatever. Looking professional and being professional are
different beasts. Guess what calling people idiots says about
someone's professionalism.

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@pugh.net> <http://steve.pugh.net/>
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 07-01-2007, 12:24 PM   #9
Beauregard T. Shagnasty
 
Beauregard T. Shagnasty's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Form elements not same size (text / textarea)

Elliot Lewis pounced upon this pigeonhole and pronounced:
> Don't be an idiot.
> I do expect a table with width 100 to be the same relational size across all
> versions of the same browser.
> Therefore I expect a text field of 18 to be the same width as a textarea of
> 18.
> Obviously you don't care about professional looking work.
>


<snip the rest as it obviously was not understood>

I've gotten back to the group and find that I am an idiot.

Thank you very much. Thanks to the other posters who already have said
everything I would want to say. My websites are very professional looking,
and all validate xhtml 1.0 strict with valid css as well.

Why not go curl up with a good book? Perhaps even one about usenet
guidelines?

--
-bts
-This space intentionally left blank.
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 07-01-2007, 12:24 PM   #10
Headless
 
Headless's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Form elements not same size (text / textarea)

"William Tasso" <ngx@tbdata.com> wrote:

>[please don't top post]


Please learn how to trim quotes.


Headless

 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Featured Websites
Free Space
Free Space
Free Space Free Space
Reply
Tags: , , , , ,




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML Code for a FORM help please BORG HTML 2 07-01-2007 12:21 PM
Adjusting text box sizes without adjusting font size. How? BTinternet Graphics in general 2 06-11-2007 10:45 PM
Setting line size and column size in MySQL 4.1.1 Keith Lee Database 1 06-09-2007 11:23 PM
New Affordable Multilingual ASP Web Form Steve Bennett Building An Internet Business 0 05-29-2007 12:44 AM
Form basher1001 HTML 1 10-14-2006 9:47 PM


Featured Websites




All times are GMT +1. The time now is 6:58 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
Cheap Computers
MK PitStop Copyright 2005 - 2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98