title: disable css style for certain elements
body: <p>I used css to create a style for a menu which has links but now that style applies to all the links on the page. how can i disable that css style for some links? Here is the css code:</p>
  
  <pre><code>ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  }
  
  li {
  font-size: 35px;
  display: inline-block;
  }
  
  a:link, a:visited {
  display: block;
  width: 250px;
  font-weight: bold;
  color: #FFFFFF;
  background-color: #0080FF;
  text-align: center; 
  padding: 4px;
  text-decoration: none;
  text-transform: uppercase;
  }
  
  a:hover, a:active {
  background-color: #66B2FF;
  }
  </code></pre>
  
  <p>And here is the html code (It's a gallery):</p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;GALLERY&lt;/title&gt;
          &lt;link rel="stylesheet" type="text/css" href="styles.css"&gt;
          &lt;script type="text/javascript" language="JavaScript"&gt;
          &lt;/script&gt;
      &lt;/head&gt;
  &lt;body&gt;
  &lt;center&gt;&lt;br/&gt;
  &lt;font face="Geneva" id="title"&gt;GALLERY&lt;/font&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;
  &lt;/center&gt;
  &lt;center&gt;
  &lt;ul&gt;
    &lt;li&gt;&lt;a href="index.html"&gt;home&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="about.html"&gt;about&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="gallery.html"&gt;gallery&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="contact.html"&gt;contact&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;
  
  
  &lt;table border="1"&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;a href="pictures/gallery/pic1.jpg" target="_blank"&gt;&lt;img src="pictures/gallery/pic1.jpg" width="450" height="253"/&gt;&lt;/a&gt;&lt;/td&gt;
          &lt;td&gt;&lt;a href="pictures/gallery/pic2.jpg" target="_blank"&gt;&lt;img src="pictures/gallery/pic2.jpg" width="450" height="253"/&gt;&lt;/a&gt;&lt;/td&gt;
          &lt;td&gt;&lt;a href="pictures/gallery/pic3.jpg" target="_blank"&gt;&lt;img src="pictures/gallery/pic3.jpg" width="450" height="253"/&gt;&lt;/a&gt;&lt;/td&gt;
          &lt;td&gt;&lt;a href="pictures/gallery/pic4.jpg" target="_blank"&gt;&lt;img src="pictures/gallery/pic4.jpg" width="450" height="253"/&gt;&lt;/a&gt;&lt;/td&gt;
      &lt;tr&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;a href="pictures/gallery/pic5.jpg" target="_blank"&gt;&lt;img src="pictures/gallery/pic5.jpg" width="450" height="253"/&gt;&lt;/a&gt;&lt;/td&gt;
          &lt;td&gt;&lt;a href="pictures/gallery/pic6.jpg" target="_blank"&gt;&lt;img src="pictures/gallery/pic6.jpg" width="450" height="253"/&gt;&lt;/a&gt;&lt;/td&gt;
          &lt;td&gt;&lt;a href="pictures/gallery/pic7.jpg" target="_blank"&gt;&lt;img src="pictures/gallery/pic7.jpg" width="450" height="253"/&gt;&lt;/a&gt;&lt;/td&gt;
          &lt;td&gt;&lt;a href="pictures/gallery/pic8.jpg" target="_blank"&gt;&lt;img src="pictures/gallery/pic8.jpg" width="450" height="253"/&gt;&lt;/a&gt;&lt;/td&gt;
      &lt;tr&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;a href="pictures/gallery/pic9.jpg" target="_blank"&gt;&lt;img src="pictures/gallery/pic9.jpg" width="450" height="253"/&gt;&lt;/a&gt;&lt;/td&gt;
          &lt;td&gt;&lt;a href="pictures/gallery/pic10.jpg" target="_blank"&gt;&lt;img src="pictures/gallery/pic10.jpg" width="450" height="253"/&gt;&lt;/a&gt;&lt;/td&gt;
          &lt;td&gt;&lt;a href="pictures/gallery/pic11.jpg" target="_blank"&gt;&lt;img src="pictures/gallery/pic11.jpg" width="450" height="253"/&gt;&lt;/a&gt;&lt;/td&gt;
          &lt;td&gt;&lt;a href="pictures/gallery/pic12.jpg" target="_blank"&gt;&lt;img src="pictures/gallery/pic12.jpg" width="450" height="253"/&gt;&lt;/a&gt;&lt;/td&gt;
      &lt;tr&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;a href="pictures/gallery/pic13.jpg" target="_blank"&gt;&lt;img src="pictures/gallery/pic13.jpg" width="450" height="253"/&gt;&lt;/a&gt;&lt;/td&gt;
          &lt;td&gt;&lt;a href="pictures/gallery/pic14.jpg" target="_blank"&gt;&lt;img src="pictures/gallery/pic14.jpg" width="450" height="253"/&gt;&lt;/a&gt;&lt;/td&gt;
          &lt;td&gt;&lt;a href="pictures/gallery/pic15.jpg" target="_blank"&gt;&lt;img src="pictures/gallery/pic15.jpg" width="450" height="253"/&gt;&lt;/a&gt;&lt;/td&gt;
          &lt;td&gt;&lt;a href="pictures/gallery/pic16.jpg" target="_blank"&gt;&lt;img src="pictures/gallery/pic16.jpg" width="450" height="253"/&gt;&lt;/a&gt;&lt;/td&gt;
      &lt;tr&gt;
  &lt;/table&gt;
  
  &lt;/center&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>So all the links in the table use the style from the css. How do I stop that? Thanks in advance.</p>