CSS to make bold text appear normal

Discussion in 'CSS' started by eXe, Feb 23, 2007.

  1. #1
    Can someone help me w/ internal css for making text that's bold look normal.

    For example:
    In this sentence, this text is bold.

    I'd like "this text" to be bold/have <b> tags around it however it shouldn't look bold.

    Other bold text on the same page should look bold.
     
    eXe, Feb 23, 2007 IP
  2. sundaybrew

    sundaybrew Numerati

    Messages:
    7,294
    Likes Received:
    1,260
    Best Answers:
    0
    Trophy Points:
    560
    #2
    Just create a class on your style sheet , and then add that style to your text you want to change..

    Hope this helps
     
    sundaybrew, Feb 23, 2007 IP
  3. eXe

    eXe Notable Member

    Messages:
    4,643
    Likes Received:
    248
    Best Answers:
    0
    Trophy Points:
    285
    #3
    Thanks but how do I make the bold text look normal?
     
    eXe, Feb 23, 2007 IP
  4. Blame Me

    Blame Me Guest

    Messages:
    162
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #4

    p{
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #000000;
    }
    .nobold{
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #000000;
    font-weight: normal;
    }
    strong{
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #000000;
    }

    Create a div class for the text you want to be like the rest of your text ie .nobold and add the font-weight: normal; to the css. Either stick it in a css file or place it inline at the sauce of the bold text (easy way to be honest).

    With a class tag <strong class="nobold">The bit you don't want to be bold</strong>

    Inline would look like this <strong style="font-weight:normal;">The bit you don't want to be bold</strong>
     
    Blame Me, Feb 23, 2007 IP
    eXe likes this.
  5. mwtrag

    mwtrag Peon

    Messages:
    164
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #5
    will google know youre trying to fool them?
     
    mwtrag, Feb 23, 2007 IP
  6. eXe

    eXe Notable Member

    Messages:
    4,643
    Likes Received:
    248
    Best Answers:
    0
    Trophy Points:
    285
    #6
    Thanks!

    I hope not:p
     
    eXe, Feb 23, 2007 IP
  7. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #7
    I would not call this "fooling google".
    By using <strong> tags you clearly want to stress over some keywords on the page.
    If your layout is negatively affected as a result, I see no harm in making <strong> text look like normal one.. It is different to making font unreadably small to fill your page with keywords, it's only a font weight adjustment..
     
    Clive, Feb 23, 2007 IP
  8. Austars

    Austars Active Member

    Messages:
    1,437
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    95
    #8
    Google has requested CSS files from servers, I think they'd know, at least soon they should be able to.
     
    Austars, Feb 23, 2007 IP