Groups | Blog | Home
all groups > asp.net > april 2006 >

asp.net : changing font of textbox?


Peter Rilling
4/29/2006 9:47:20 PM
I have controls on a page such as a textbox where I would like the font to
match the rest of the page. The CSS style applied to the <body> tag does
not seem to be used by the textbox. Can the textbox font be changed? Also,
same thing for buttons.

Shaun McDonnell
4/30/2006 12:09:19 PM
CSS stylesheets.

Shaun C McDonnell
Solutions Architect

[quoted text, click to view]

Teemu Keiski
4/30/2006 12:36:02 PM
Hi,

certainly. You can for example target it at INPUT element on the stylesheet.
Or you can do it just by using TextBox's etc own properties/attributes.
Font-Name Font-Size etc

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke

[quoted text, click to view]

AddThis Social Bookmark Button