I have recently updated a CSS file onto the web with a slight change in, to make a certain text blue
instead of red
:
p.melding{
font-weight: bold;
color: blue; /*red earlier*/
}
The file has been updated online, but the change is not displaying online (nor any other changes I have made to the CSS script). When I look in the style editor in the web developer tool in Firefox, it says red
. (When I change it in that editor it changes to blue.)
The style sheet seems to work in general, so shouldn't be an issue with the code there. Below are the relevant parts of my html/php file. Although this has been written by someone else (professional) and there has not been a problem with it earlier, so I think the problem lies somewhere else.
The link to the stylesheet:
<head>
<title>...</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" href="stil.css" type="text/css" media="screen" />
</head>
and the php code concerning the class in question:
<?php
if (isset($melding)) {
echo " <p class=\"melding\">$melding</p>\n";
}
?>
Any ideas why the changes to my CSS file are not showing online?
` tag holding the "melding" class(?) Show us the rest of your code. You tagged as PHP/HTML but nothing to support the question really.
– Funk Forty Niner Sep 14 '15 at 13:21