Put this line in my html and that css file is in the same directory. It is having no effect on my webpage. It's like it's not even there: . I tried trouble shooting as follows: I put my 2 files in their own directory and redid them in Wordpad. Again the HTML worked fine but the css file obviously didn't link in as none of the directed formatting was executed. I tried making a 2 nd bare bones css file and again it was not linked in. I tried changes the link address to include directory tree right back to root. Do tags have to be used in these CSS files ? Mine just starts with a tag followed by formatting commands.
body {
font-size:12pt;
font-family:Verdana, Geneva, Arial, Helvetica, sans-serif; /* picks first font in list order*/
color:brown;
line-height:14pt;
padding-left:5pt;
padding-right:5pt;
padding-top:5pt;
}
h1{ font:14pt Verdana, Geneva, arial, Helvetica, sans-serif; font-weight:bold; line-height: 20pt; }
subheader { font-weight:bold; color:#593d87; }
img{ padding:3pt; float:right; }
a { text-decoration:none; }
a:link, a:visited { color:#8094d6; }
a:hover, a:active { color:#FF9933; }
footer { font-size: 9pt; font-style:italic; line-height:12pt; text-align:center; padding-top:30pt; }
link
the CSS in your HTML file? Does the CSS file show up in the browser's dev tools (F12) if you open the HTML page? – Blauelf Jul 4 '19 at 7:25