Is there a way to add a css file to the following php code:
<?php
echo "<a href=logout.php>Logout</a>";
?>
Is there a way to add a css file to the following php code:
<?php
echo "<a href=logout.php>Logout</a>";
?>
<?php
echo '<link href="stylesheet.css" rel="stylesheet" type="text/css" />';
echo "<a id='logout' href='logout.php'>Logout</a>";
?>
in stylesheet.css:
#logout{color:green;font-size:.7em;border:1px solid black;}
Same way you would add it if it were html.