title: Linking css built in eclipse to jsp and getting results
body: <p>I am trying to link a css i created in eclipse to the jsp and when i run the project i get no results in my browser. I've tried it in multiple ways, by putting</p>
  
  <pre><code>&lt;link rel="stylesheet" href="css/first.css" type="text/css"&gt;
  
  &lt;link rel="stylesheet" href="boe/WebContent/first.css" type="text/css"&gt;
  
  &lt;link rel="stylesheet" href="(my full path to the file)" type="text/css"&gt;
  </code></pre>
  
  <p>I've tried so much that i don't remember how i got it to not error out. i am getting this</p>
  
  <pre><code>Tag (link) should be an empty-element tag. 
  </code></pre>
  
  <p>as the caution error.</p>
  
  <p>i can not find any step by steps on creating the css and making it link to the jsp, so it can show up in my browser.</p>
  
  <p>here is my code for both the jsp and the css.</p>
  
  <p>jsp:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
  &lt;%@ page import="java.util.*" language="java" contentType="text/html; charset=UTF-8"
  pageEncoding="UTF-8"%&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head&gt;
      &lt;link rel="stylesheet" href="css/first.css" type="text/css"&gt;
      &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt;
      &lt;title&gt;TestPage - Test1&lt;/title&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
      &lt;div id="page-container"&gt;Hello World&lt;/div&gt;
      &lt;%Date d = new Date(session.getLastAccessedTime());%&gt;
      this page was last viewed &lt;%= d.toString() %&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>css:</p>
  
  <pre><code>@CHARSET "UTF-8";
  html, body {
      margin:0;
      padding:0;
  }
  
  #page-container {
      width: 760px;
      margin: auto;
      background: red;
  }
  </code></pre>
  
  <p>any help on finding a step by step or if you have a good explanation, it would be much appreciated. Thank you </p>