How to Disable an Alias on a Font HTML

104 10
    • 1). Add "<style>" tags to the page HTML, like so:

      <head>
      <style>
      </style>
      </head>

    • 2). Insert "body { }" in between the "<style>" tags, so that the updated code resembles the following:

      <style>
      body { }
      </style>

    • 3). Enter "color: ;" in between the curled braces, then enter the hexidecimal code for the preferred font color in between the colon and semi-colon. For example, to make all of the text black:

      body { color: #000000; }

    • 4). Add "text-shadow: 0 0 1px rgba(#, #, #, 0.5);" to the "body" tag. Insert the new attribute after the "color" attribute. Your code should so far resemble the following:

      body { color: #000000; text-shadow: 0 0 1px rgba(#, #, #, 0.5); }

    • 5). Replace each "#" with the the red, green and blue values for the text color. For example, if you want your text to be sea green, the hexadecimal code would be "#00FFAA", and the red, green and blue values would be 0, 255 and 170. Your code would look similar to the code below:

      body { color: #00FFAA; text-shadow: 0 0 1px rgba(0, 255, 170, 0.5); }

    • 6). Save and upload the updated code to your website to disable alias on your fonts.

Source...
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.