Results 1 to 6 of 6

Thread: [resolved] mozilla prob with css [newbie]

  1. #1

    Thread Starter
    Lively Member ayan's Avatar
    Join Date
    Jan 2004
    Posts
    112

    [resolved] mozilla prob with css [newbie]

    i've got an html file which has
    Code:
    <link rel="stylesheet" href="page.css">
    then i've got a file page.css which contains
    Code:
    p.header{
      font: bold;
    }
    but when i call
    Code:
    <p class="header">20april2004
    20april2004 doesn't do bold. it runs bold with IE but not in Mozilla. thanx in advance...
    Last edited by ayan; May 28th, 2004 at 08:06 PM.

  2. #2
    Junior Member
    Join Date
    Apr 2004
    Location
    Stockholm, Sweden
    Posts
    29
    Close the p-tag, perhaps?
    If there is a way to solve your problems, there is no need to worry; if there is no way to solve your problems, there is no point to worry.

  3. #3

    Thread Starter
    Lively Member ayan's Avatar
    Join Date
    Jan 2004
    Posts
    112
    Code:
    <p class="header">20april2004
    </p>
    still doesn't do bold on 20april2004 on Mozilla and Opera but it bolds on IE. why is that?

  4. #4

    Thread Starter
    Lively Member ayan's Avatar
    Join Date
    Jan 2004
    Posts
    112
    here it is. in my page.css file, the one that is
    Code:
    p.header{
      font: bold;
    }
    i changed it to
    Code:
    p.header{
      font: bold 8pt tahoma;
    }
    i has to be specified. how can i be not seeing that. sorry for bothers.

  5. #5
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945
    No... it's because it needs to be:

    Code:
    font-weight : bold;  //NOT FONT
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

  6. #6

    Thread Starter
    Lively Member ayan's Avatar
    Join Date
    Jan 2004
    Posts
    112
    Originally posted by ober0330
    No... it's because it needs to be:

    Code:
    font-weight : bold;  //NOT FONT

Posting Permissions

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



Click Here to Expand Forum to Full Width