Hi guys, I'm having trouble getting div styles to work from an external style sheet.
I've confirmed the page using the div styles does link to the external
CSS as I've used styles for other tags without problem. I can also define the div style inline within the page which indicates there's nothing wrong with my coding!
Here's what I have;
This is what is in the external
CSS
div.duel
{
font-size: 18pt;
color:#FFFFFF;
}
and this is what is on the page;
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="../Default.css">
</style>
</head>
<body background="Background.jpg">
<center>
<div class="duel"> Work damn you, WORK! </div>
</center>
</body>
</html>
Is this coding right? Now I've simplified things in the hope that the mistake I'm making is here but I'll happily give any other information you may need to sort this out.
I'm at a complete loss as to why this isn't working. I've only recently gotten back into web design and I thought it must be something really simple but for the life of me can't find it!
Any feedback or advice would be greatly appreciated
SOLUTION!
Instead of 'div.duel' in the
CSS, I used 'duel' by itself and it worked
