Click here to Skip to main content
15,906,766 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to i change the font name,style,size of my whole web forms in my project.


Thanks ,
----K.F
Posted

try this in CSS
CSS
form    {
font-family: sans-serif;
font-size: 16px;
font-style: italic;
}
 
Share this answer
 
Comments
King Fisher 28-Mar-14 0:12am    
Do i have to add css for each and every control?
Learn to use CSS[^], the language for describing the presentation of web pages.
 
Share this answer
 
Comments
King Fisher 28-Mar-14 0:11am    
Do i have to add css for each and every control?
Peter Leow 28-Mar-14 0:38am    
Depending on your requirement. You use selectors to apply styles to specific controls. See: http://www.w3schools.com/css/css_id_class.asp
King Fisher 28-Mar-14 0:58am    
My requirement is to set same font,style,size for whole page.
Peter Leow 28-Mar-14 1:09am    
Try this
*{
font-family:"Times New Roman";
font-size:12px;
}
Find out more from the links that I provided.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900