PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Change highlight on bold

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Change highlight on bold

    Hello,

    how to change the highlight in the template to not highlight but only bold the font?

    I insert change it in .highlight { font-weight:normal; } but doesn't work.

    Can you help me pls?

    Thanks in advanced.

  • #2
    That's not the correct css to bold something. Try font-weight:900. See here,
    www.w3schools.com/cssref/pr_font_weight.asp

    Comment


    • #3
      font-weight: bold;

      ... will also do the trick. (900 is the thickest font weight. 700 would be the equivalent to "bold", and 400 is "normal")
      --Ray
      Wrensoft Web Software
      Sydney, Australia
      Zoom Search Engine

      Comment


      • #4
        Yeah, depends on the font and size though I think. Some font and size combinations only seem to go bold if you go right to the edge... YMMV =)

        Comment

        Working...
        X