BeanSoftware Logo
 

 
ASP.NET Database Search Control
 
 

 
 Home
    Shop
    Advertise
    Write For Us
    Affiliate
    Newsletter
    Contact

Can I Create First Letter As Drop Case By Using CSS Styles?

To create large first letter of paragraph (drop case), you need to use CSS class like this:

[ CSS ]

.TextWithDropCap:First-Letter
{
 color: Maroon;
 font-size: 500%;
 float:left;
}

 

Now you can set the class parameter of some tag (e.g. paragraph) to this CSS class, like this:

<p class="TextWithDropCap">This is some text...... </p>

 

Then, at run time you will get an output similar to this:

Drop case of first letter with CSS and ASP.NET



Related articles:

1. How To Post Back To Other Page With Button Control Click?
2. Debugging with "Stepping" and "Data Viewing" features
3. Accessibility In ASP.NET Web Site

FAQ toolbar: Submit FAQ  |  Tell A Friend  |  Add to favorites  |  Feedback



Copyright © 2002-2008 Bean Software. All rights reserved.