C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Code Snippets » Html »

Text transform property in CSS


Posted Date: 01 Nov 2008    Resource Type: Code Snippets    Category: Html
Author: Shanthi MMember Level: Gold    
Rating: 1 out of 5Points: 7



The following code snippet shows how to control the letters in an element using text-transform property in Cascading Style Sheet(CSS).


//Paste the code into style tag
p.uppercase {text-transform: uppercase}
p.lowercase {text-transform: lowercase}
p.capitalize {text-transform: capitalize}

//Paste the code into paragraph tag
class="uppercase">This is in uppercase
//Paste the code into paragraph tag
class="lowercase">This is in lowercase
//Paste the code into paragraph tag
class="capitalize">This is in capitalize





Responses

Author: Santhi    11 Nov 2008Member Level: Gold   Points : 1
p { text-transform: capitalize; }
h4{ text-transform: lowercase;}
h2{ text-transform: uppercase; }






Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
Text transform property in CSS  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: How to use MARQUEE in HTML
Previous Resource: Code to validate email address
Return to Discussion Resource Index
Post New Resource
Category: Html


Post resources and earn money!
 
Related Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use