<style type="text/css">
p.cap { text-transform: capitalize }
</style>
<p class="cap">THIS IS THE SECOND SUB-HEADING</p>

shows as

THIS IS THE SECOND SUB-HEADING

You would need to do some dom manipulation instead of  using a plain  
old text transform.


On Dec 7, 2007, at 6:59 PM, awaybbl wrote:

>
> not sure if this will help you or not...
>
> <html>
> <head>
> <style type="text/css">
> p.uppercase {text-transform: uppercase}
> p.lowercase {text-transform: lowercase}
> p.capitalize {text-transform: capitalize}
> </style>
> </head>
>
> <body>
> <p class="uppercase">This is some text in a paragraph</p>
>
> <p class="lowercase">This is some text in a paragraph</p>
>
> <p class="capitalize">This is some text in a paragraph</p>
> </body>
>
> </html>
>
>
>
>
>
> On Dec 6, 6:25 pm, anmldr <[EMAIL PROTECTED]> wrote:
>> I apologize for the cross post but I did not receive an answer on
>> another Google group for CSS.
>>
>> ======
>>
>> I have an outline that the topic headings are in sentence case.  The
>> sub-headings are all uppercase.  There are a LOT of pages and I do
>> not
>> want to go through each of them to change the case manually.
>>
>> I want all of it to be in Title Case.  I have tried text-transform:
>> capitalize; which works on the topic headings but there is no change
>> in the subheadings (that are in UPPER case).
>>
>> When I use text-transform: capitalize the text that was in sentence
>> case is transformed.  The text that was all upper case remains in
>> upper case.
>>
>> Any suggestions for how to change all of the headings and subheadings
>> into Title Case?
>>
>> For instance:  I have this:
>>
>> I. This is the first heading
>>  A. THIS IS THE SUB-HEADING
>>  B. THIS IS THE SECOND SUB-HEADING
>> II. This is the second heading
>>
>> I want it all in Title Case:
>>
>> I. This Is The First Heading
>>  A. This Is The Sub-Heading
>>  B. This Is The Second Sub-Heading
>> II.  This Is The Second Heading
>>
>> Thank you very much for your help.
>> Linda
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to