Results 1 to 5 of 5

Thread: [RESOLVED] how to Import font from local folder

  1. #1

    Thread Starter
    Junior Member Bharathi P's Avatar
    Join Date
    Dec 2013
    Location
    Chennai, India
    Posts
    17

    Resolved [RESOLVED] how to Import font from local folder

    Hi,

    I have used "Segoe UI" font in my CSS class. In my machine I have that font. So its working fine.
    But some other machine dont have that font ("Segoe UI"). In that machine my CSS class not working. Its not working means thats taken some other font to display.
    I can downloaded that font and store it in my application folder. How to add the fonts from my local font folder (it is in my application folder). If the font can apply from my local folder it will work in all machine.
    Please refer attachment
    Below is my CSS Code:
    .SignInBtnCSS{
    padding: 2px 10px;
    text-decoration: none;
    font-family: 'Segoe UI'; /* How to add the font from local folder here. */
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    background-color: #025fc9;
    border: solid 1px #0456b4;
    cursor: pointer;
    }

    Button:
    -------------
    <asp:Button ID="btnLogin" CssClass="SignInBtnCSS" runat="server"Text="Sign in" Width="150" />


    Please help me to solve the problem...

    Thanks in Advance


    Regards,
    Bharathi P
    Attached Images Attached Images  

  2. #2
    Frenzied Member tr333's Avatar
    Join Date
    Nov 2004
    Location
    /dev/st0
    Posts
    1,605

    Re: how to Import font from local folder

    CSS layout comes in to the 21st century with flexbox!
    Just another Perl hacker,

  3. #3
    Hyperactive Member coothead's Avatar
    Join Date
    Oct 2007
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    284

    Re: how to Import font from local folder

    Hi there Bharathi P

    Check out the link...


    ...a zip file that contains all the required fonts and coding that you need.


    ~ the original bald headed old fart ~

  4. #4

    Thread Starter
    Junior Member Bharathi P's Avatar
    Join Date
    Dec 2013
    Location
    Chennai, India
    Posts
    17

    Re: how to Import font from local folder

    Hi Coothead,
    Thanks for your reply its working good.

    Thanks...

    Quote Originally Posted by coothead View Post
    Hi there Bharathi P

    Check out the link...


    ...a zip file that contains all the required fonts and coding that you need.

  5. #5
    Hyperactive Member coothead's Avatar
    Join Date
    Oct 2007
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    284

    Re: how to Import font from local folder


    No problem, you're very welcome.


    ~ the original bald headed old fart ~

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width