PassMark Logo
Home » Forum

Change highlight on bold

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • phoenix1977
    Junior Member
    • Apr 2010
    • 18

    #1

    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.
  • johan
    Member
    • Sep 2013
    • 40

    #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

    • Ray
      Administrator
      • Dec 2004
      • 4357

      #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

      • johan
        Member
        • Sep 2013
        • 40

        #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...