Gourab Konar Gourab Konar - 17 minutes ago 2
ASP.NET (C#) Question

how to add custom font in web form visual studio 2017?

Its a screenshot of the visual studio page

I am trying my best to add new custom font i have tried to add the font both n resource folder and font folder but was not successful.

<style type="text/css">
font-family:"zekton rg";
src: url(zekton rg.ttf);

.auto-style1 {
width: 100%;
.auto-style2 {
text-align: center;
.auto-style3 {
text-align: center;
height: 33px;
.auto-style4 {
height: 33px;
.auto-style5 {
height: 39px;
#Reset1 {
text-align: left;
height: 35px;
width: 72px;

Please help ....


It's probably because your font hasn't been installed yet.

Double click the .ttf file. Click the "install" button on top-left. Install the font and try again.

Hope it helps!