|
-
May 27th, 2004, 08:09 PM
#1
Thread Starter
Lively Member
[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.
-
May 28th, 2004, 01:24 AM
#2
Junior Member
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.
-
May 28th, 2004, 02:59 AM
#3
Thread Starter
Lively Member
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?
-
May 28th, 2004, 03:28 AM
#4
Thread Starter
Lively Member
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.
-
May 28th, 2004, 09:22 AM
#5
Frenzied Member
No... it's because it needs to be:
Code:
font-weight : bold; //NOT FONT
-
May 28th, 2004, 08:04 PM
#6
Thread Starter
Lively Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|