spacemonki spacemonki - 17 days ago 6
HTML Question

Background colour sitting over the top and cant see <p> text

<div id="nav" style="background-color: purple; width: 100px; height: 1060px; float: left;">
<p> <a href="../info/info.html">Information</a></p>
<p> <a href="../../index.html">Home</a></p>
</div>


I want to be able to see my links and i don't know why i cant. I usually use CSS but its a assessment and have to use html styling.
Sorry for the super amateur question.

Answer

You can use:

    a, a:hover, a:visited{
      color:white;
     }

or style inline:

<a href="../info/info.html" style="color:white;">Information</a>

Hope that helps. Good luck

Comments