Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Upper Case...

1 view
Skip to first unread message

116

unread,
Dec 11, 2009, 1:17:02 PM12/11/09
to
In any give field, how can I force upper case, or lower for that matter if
needed.

Thanks
David

Dan L

unread,
Dec 11, 2009, 1:28:01 PM12/11/09
to
Use CSS to set the font to uppercase.

116

unread,
Dec 11, 2009, 2:14:01 PM12/11/09
to
Thank you Dan. But could you give an example? I have had very liitle
experience with css and html...Rookie.

David

Dan L

unread,
Dec 11, 2009, 2:38:01 PM12/11/09
to
If you wanted a whole paragraph displayed in upper case, you can either use
the <style> in the <head> section or you can use in-line style. The <head>
section method would be to place the following between <head> and </head> at
the top of your page (in code view)
<style type="text/css">
p.uppercase {text-transform:uppercase}
</style>
Then you would assign the class to the paragraph you want:
<p class="uppercase">This is some text.</p>
Alternatively, you can use in-line style like so:
<p style="text-transform:uppercase">This is some text.</p>
See http://www.w3schools.com/css/css_text.asp for more info.

Ronx

unread,
Dec 11, 2009, 2:38:11 PM12/11/09
to
<p style="text-transform: uppercase;">this will Appear as uppercase text</p>

See tutorials at http://www.w3schools.com
--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.

"116" <1...@discussions.microsoft.com> wrote in message
news:D3294DD5-2F07-483D...@microsoft.com...

116

unread,
Dec 11, 2009, 3:36:01 PM12/11/09
to
Thanks. I have been out there messing around. Earlier when I mentioned
field, I was referring to a Text Box in a form. Do this also apply there as
well?

David

"Ronx" wrote:

> .
>

Ronx

unread,
Dec 11, 2009, 4:43:29 PM12/11/09
to
Input renders as uppercase in FireFox and IE8:

<input name="Text1" type="text" style="text-transform: uppercase;" >

However, it is unlikely the text will be sent to the server as uppercase
when the form is submitted - but your form handler can change it if using
PHP, asp or asp.NET - FrontPage extensions will not change the case.


--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.

"116" <1...@discussions.microsoft.com> wrote in message

news:15E09FA8-45AF-4AD3...@microsoft.com...

Jon Spivey

unread,
Dec 11, 2009, 5:55:52 PM12/11/09
to
For a form you're probably better using javascript to force upper case -
this way the form field contents will display to your user and be sent to
your server in upper case.

<input type="text" onkeyup="this.value=this.value.toUpperCase();"
name="whatever" />
or for lower case
<input type="text" onkeyup="this.value=this.value.toLowerCase();"
name="whatever" />


"116" <1...@discussions.microsoft.com> wrote in message

news:15E09FA8-45AF-4AD3...@microsoft.com...

116

unread,
Dec 12, 2009, 9:11:01 AM12/12/09
to
Thank you much. Did the trick.

David

"Jon Spivey" wrote:

> .
>

0 new messages