I have the following coded. It doesn’t work nor does any other text or line decoration that I’ve tried. Obviously I’m doing something wrong. I’m aware that I could use <u></u> pairs to achieve underlining, but it would be useful to be able to use other text/line decoration using CSS.
Could someone please show me the error of my ways?
There is nothing wrong with the code, so I would assume you are not linking correctly to the CSS. Do the color of the text change if you set it to something?
The CSS file, clan.css, is within the CSS folder shown in the first line. The HTML that attempts to use the .underline styling is in the personal-pages.html file.
The HTML file that I’m trying to use the CSS styling in is ‘personal-pages.html’.
Here’s the first part of that file including the first instance of using the code: