|
Posted by Wings on 05/23/07 18:56
Ran into a problem right off the bat in my learning the DIV element.
Everything I have, and an on-line tutorial, says this should work in making
the font color RED inside the element. It doesn't. (This is just a study
page - not on the internet, but I cut and pasted the code, so this is
accurate).
<HTML>
<HEAD>
<TITLE>Study Page</TITLE>
<STYLE TYPE="text/css">
<!--
..dog
{
font-color : red;
}
-->
</STYLE>
</HEAD>
<BODY>
<DIV CLASS="dog">
This should be in a red font
</DIV>
</BODY>
</HTML>
Navigation:
[Reply to this message]
|