How to make 2 styles for href links on 1 html page
So i made links in a menu going vertical like this:
This is the code for it:
And i have put this style in new.css and this style makes the links of the menu go down.. and makes blue box for them also and it forms my site.. basicaly..
<link rel="stylesheet" href="new.css">
<!-- Site navigation menu -->
<li class="classname"><a href="site.html">beg</a><br>
<li class="classname"><a href="random10.html">beg1</a><br>
<li class="classname"><a href="random10.html"><small>beg2</small></a>
So now how to exclude this code from the first style in new.css, cuz i want to use this as Page links at the bottom of the page, so that you can change pages of couse..
font-family: Georgia, "Times New Roman",
color: black; }
width: 9em }
And also i would like to ask you, if you can tell me how to add new style to the page links, but to be similar to the style code of the menus:
<a href="random10.html">1</a> <a href="random10.html">2</a> <a href="random10.html">3</a>
1. The numbers 1 | 2 | 3 |4 etc to have blue backgrounds
2. The numbers to be colored with white but if you are on number 3 , the number 3 to be colored with black on blue background instead white on blue background so that you can make difference on which page you are.