Results 1 to 3 of 3

Thread: need help bolding a character

  1. #1
    Join Date
    Sep 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default need help bolding a character

    I'm having a problem making the plus sign really bold. I need some help.



    Code:
    p {
       width:17px;
       height:19px;
       padding:5px;
        text-align: center;
       
       border:1px solid #000;
       
        font-size: 17px;
       
       
       background-color:#darkslateblue }
    
    
    
    //the plus that is going to become bold.
    
    <p>+</p>

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Use font-weight: bold;

    Good luck!

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <style type="text/css">
    .boldplus {
     width: 1.05em;
     height: 1.18em;
     padding: 0.31em;
     text-align: center;
     border: 0.125ex solid #000;
     font: bold 110% sans-serif;
     background-color: #483d8b;
     color: #ddd;
    }
    </style>
    </head>
    <body>
    <div class="boldplus">+</div>
    </body>
    </html>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •