What's new

Welcome to the forum 👋, Visitor

To access the forum content and all our services, you must register or log in to the forum. Becoming a member of the forum is completely free.

FWIW I have tried other fonts in addition to Lora such as Times New Roman.

Long_distance_man

New member
Joined
Nov 10, 2024
Messages
1
Reaction score
0
HTML Coins
0
Greetings.
I am learning HTML and CSS.
One thing that hasn't worked for me at all is ligatures in text. I have tried many examples from many tutorials, but none of the settings work to give ligatures.

My setup is Windows 10, Chrome, and Edge. I have also tried on a Windows 11 PC with no success.

Here is an example of some sample code from website https://www.w3docs.com/learn-css/css-font-variant-ligatures-property.html
The website shows results that give the ligatures as desired, but on my computer it is individual letters. I attach two scans to illustreate.

<!DOCTYPE html>
<html>
<head>
<title>The title of the document </title>
<style>
div {
font-family: Lora, serif;
font-size: 35vw;
}
.gray {
font-variant-ligatures: no-common-ligatures;
color: #ccc;
}
.blue {
font-variant-ligatures: common-ligatures;
color: #1c87c9;
}
</style>
</head>
<body>
<h2>Font-variant-ligatures property example</h2>
<div>
<span class="gray">fi</span>
<span class="blue">fi</span>
</div>
</body>
</html>


Suggestions and help appreciated.
 

Theme customization system

You can customize some areas of the forum theme from this menu.

  • Wide/Narrow view

    You can control a structure that you can use to use your theme wide or narrow.

    Grid view forum list

    You can control the layout of the forum list in a grid or ordinary listing style structure.

    Picture grid mode

    You can control the structure where you can open/close images in the grid forum list.

    Close sidebar

    You can get rid of the crowded view in the forum by closing the sidebar.

    Fixed sidebar

    You can make it more useful and easier to access by pinning the sidebar.

    Close radius

    You can use the radius at the corners of the blocks according to your taste by closing/opening it.

  • Choose the color combination that reflects your taste
    Background images
    Color gradient backgrounds
Back