CSS Bolding

Discussion in 'HTML' started by freesoft_2000, Sep 23, 2006.

  1. Hi everyone,

    Sorry to ask this silly question but is there a way to add
    bolding into a css class like when a font family is added into a css
    class
    like below

    ..csstest
    {
    font-family: Georgia;
    font-size: 36;
    background-color: green;
    color: blue;
    }

    Any help is greatly appreciated

    Thank you

    Yours Sincerely

    Richard West
    freesoft_2000, Sep 23, 2006
    #1
    1. Advertising

  2. freesoft_2000

    freemont Guest

    On Sat, 23 Sep 2006 14:57:59 -0400, freesoft_2000 wrote:

    > Hi everyone,
    >
    > Sorry to ask this silly question but is there a way to add
    > bolding into a css class like when a font family is added into a css class
    > like below
    >
    > .csstest
    > {
    > font-family: Georgia;
    > font-size: 36;

    font-weight:bold;
    > background-color: green;
    > color: blue;
    > }


    --
    "Because all you of Earth are idiots!"
    ¯`·.¸¸.·´¯`·-> freemont© <-·´¯`·.¸¸.·´¯
    freemont, Sep 23, 2006
    #2
    1. Advertising

  3. Hi everyone,

    freemont, what about adding bullets and making text italic?
    Is there a site where i can find the entire list of tags for doing all
    this in CSS?

    Any help is greatly appreciated

    Thank You

    Yours Sincerely

    Richard West
    freesoft_2000, Sep 23, 2006
    #3
  4. Hi everyone,

    freemont, what about adding bullets and making text italic?
    Is there a site where i can find the entire list of tags for doing all
    this in CSS?

    Any help is greatly appreciated

    Thank You

    Yours Sincerely

    Richard West
    freesoft_2000, Sep 23, 2006
    #4
  5. freesoft_2000 wrote:
    > Hi everyone,
    >
    > freemont, what about adding bullets and making text italic?
    > Is there a site where i can find the entire list of tags for doing all
    > this in CSS?


    CSS doesn't have tags.

    The entire CSS reference is at http://www.w3.org/TR/CSS21/.
    Harlan Messinger, Sep 23, 2006
    #5
  6. freesoft_2000 wrote:
    > Hi everyone,
    >
    > Sorry to ask this silly question but is there a way to add
    > bolding into a css class like when a font family is added into a css
    > class
    > like below



    BTW your existing CSS is invalid
    >
    > .csstest
    > {
    > font-family: Georgia;
    > font-size: 36;

    ^^^
    36 what? In CSS your *must* have units 36px, 2.6em 36pt....
    > background-color: green;
    > color: blue;
    > }
    >
    > Any help is greatly appreciated
    >



    --
    Take care,

    Jonathan
    -------------------
    LITTLE WORKS STUDIO
    http://www.LittleWorksStudio.com
    Jonathan N. Little, Sep 23, 2006
    #6
  7. freesoft_2000

    freemont Guest

    On Sat, 23 Sep 2006 15:24:03 -0400, freesoft_2000 wrote:

    > Hi everyone,
    >
    > freemont, what about adding bullets and making text italic?
    > Is there a site where i can find the entire list of tags for doing all
    > this in CSS?


    Putting items in an unordered list will add bullets by default.
    font-style:italic; makes text italic. Try these sites out:

    http://tinyurl.com/k5d3e

    http://tinyurl.com/jcsj9

    ;-)

    --
    "Because all you of Earth are idiots!"
    ¯`·.¸¸.·´¯`·-> freemont© <-·´¯`·.¸¸.·´¯
    freemont, Sep 23, 2006
    #7
  8. freesoft_2000

    Toby Inkster Guest

    Toby Inkster, Sep 23, 2006
    #8
  9. Toby Inkster wrote:
    > Jonathan N. Little wrote:
    >
    >> 36 what?

    >
    > The correct answer is: hobnobs.
    >


    I prefer doohickeys!

    --
    Take care,

    Jonathan
    -------------------
    LITTLE WORKS STUDIO
    http://www.LittleWorksStudio.com
    Jonathan N. Little, Sep 24, 2006
    #9
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jason

    datagrid row bolding?

    Jason, Aug 31, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    425
    Thomas Dodds
    Aug 31, 2004
  2. Eric
    Replies:
    4
    Views:
    709
    clintonG
    Dec 24, 2004
  3. tom watson

    print.css and screen.css

    tom watson, Sep 9, 2003, in forum: HTML
    Replies:
    1
    Views:
    458
    Jukka K. Korpela
    Sep 9, 2003
  4. Joe Blow

    CSS bolding text problem

    Joe Blow, Dec 28, 2005, in forum: HTML
    Replies:
    3
    Views:
    561
    Mitja Trampus
    Dec 28, 2005
  5. Replies:
    8
    Views:
    192
Loading...

Share This Page