HighDots Forums  

simple stupid width control question: how to set width to fill upthe row?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss simple stupid width control question: how to set width to fill upthe row? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Zhang Weiwu
 
Posts: n/a

Default simple stupid width control question: how to set width to fill upthe row? - 08-07-2005 , 06:29 AM






Hello. Very simple question. Here is my HTMl and I wish each
<input type="text">
To position that they look like aligned to right, while the other part
(the checkbox and its label) look like aligned to left.

I know if I set <input type="text"> to be "float: right" could solve the
problem, but that doesn't look like professional. There might be some
style settings that could make <label> as wide as possible without
linebreaking?

<fieldset>
<legend>Name</legend>

<p>
<input type="checkbox" id="givenName"/>
<label for="givenName">Given Name</label>
<input type="text" id="givenName_default"
title="the part of a person's name which is not their surname nor
middle name."/>
</p>

<p>
<input type="checkbox" id="sn"/>
<label for="sn">Family Name</label>
<input type="text" id="sn_default"
title="The family name of a person"/>
</p>

<p>
<input type="checkbox" id="cn"/>
<label for="cn">Full Name</label>
<input type="text" id="cn_default"
title="the person's full name"/>
</p>

</fieldset>

Reply With Quote
  #2  
Old   
Dr John Stockton
 
Posts: n/a

Default Re: simple stupid width control question: how to set width to fill up the row? - 08-10-2005 , 10:42 AM






JRS: In article <1123612671.994884.106620 (AT) g49g2000cwa (DOT) googlegroups.com>
, dated Tue, 9 Aug 2005 11:37:52, seen in news:comp.infosystems.www.auth
oring.stylesheets, Safalra <usenet (AT) safalra (DOT) com> posted :

Quote:
I notice that you've described 'given name' as 'the part of a person's
name which is not their surname nor middle name'. It may be a good idea
to use the phrase 'family name' rather than 'surname', as that's what
you used in the second row.

It's nice to see a properly internationalised form - I guess you keep
having to tell people that 'Weiwu' is your given name... :-)

That's not properly internationalised.

Some Asians have but a single name. Europeans commonly have two, three,
four, or more. Then what's the middle name of Charles Philip Arthur
George Windsor? If you go by what he's commonly known as, it must be
"of" - like many others.

ISTM that one should think operationally.

For full identification, one needs the full name, and one needs to
consider specifying whether it should be given in the native order
whatever that may be or as family-name [comma] (other-names)/(common
name).

For communication, one needs to know what to put on an envelope above
the address - Dr Bloggs, Mr J Q Public, The President of Potaniland,
etc.; and one needs perhaps to know the form, if different, which will
be appropriate in the salutation of a letter (e.g. Mr/Mrs/Mme/etc.
President [the name of the country is not wanted; he should know that]).

The appropriate forms cannot be deduced from the full name, even if the
family name is also indicated.

Today's paper contains a letter from one who used to reside at
3B Union Road; but whose Bank addressed her as at 3 Bunion Road.

--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 MIME. ©
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/&c., FAQqy topics & links;
<URL:http://www.merlyn.demon.co.uk/clpb-faq.txt> RAH Prins : c.l.p.b mFAQ;
<URL:ftp://garbo.uwasa.fi/pc/link/tsfaqp.zip> Timo Salmi's Turbo Pascal FAQ.


Reply With Quote
Reply




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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.