K
Ken Hearts Isa
Guest
Ok, I'm getting really irritated with this page I'm trying to design. It's nothing complicated at all, but for some reason I can't get it to work.
Here's what I have included in my external file:
h1{
font-family:Impact;
font-weight:900;
font-variant:small-caps;
}
None of this shows up. However, when I do it thusly:
<h1 style="font-family:Impact; font-weight:900; font-variant:small-caps;"> Blah Blah Blah </h1>
it works fine. I know I'm including my *.css file correctly because other elements within it work fine.
The only thing I can think that may be a problem is that my <h1> tags are within a pair of <div> tags, but they don't have any conflicting attributes, so that shouldn't be a problem. Am I wrong? Is my syntax messed up?
Yes, I already linked in the external file. Like I said, several other attributes within the file, such as
body{
background-color:#804040;
}
are working beautifully. It's just this section that isn't.
To the third response, this thing is ridiculously simple. I'm just trying to refresh my memory on this stuff, since I haven't done it in a while. The only elements I reference in my CSS file are body, div, h1, and p. Also, there's definitely only one linked file. Sorry.
Thanks for the response, though. Good thoughts.
Here's what I have included in my external file:
h1{
font-family:Impact;
font-weight:900;
font-variant:small-caps;
}
None of this shows up. However, when I do it thusly:
<h1 style="font-family:Impact; font-weight:900; font-variant:small-caps;"> Blah Blah Blah </h1>
it works fine. I know I'm including my *.css file correctly because other elements within it work fine.
The only thing I can think that may be a problem is that my <h1> tags are within a pair of <div> tags, but they don't have any conflicting attributes, so that shouldn't be a problem. Am I wrong? Is my syntax messed up?
Yes, I already linked in the external file. Like I said, several other attributes within the file, such as
body{
background-color:#804040;
}
are working beautifully. It's just this section that isn't.
To the third response, this thing is ridiculously simple. I'm just trying to refresh my memory on this stuff, since I haven't done it in a while. The only elements I reference in my CSS file are body, div, h1, and p. Also, there's definitely only one linked file. Sorry.
Thanks for the response, though. Good thoughts.