I have the following unordered list within a div:
<div id="footer">
 <ul>
  <li>Blog</li>
  <li>|</li> 
  <li>About Us</li> 
  <li>|</li> 
  <li>Privacy Policy</li> 
  <li>|</li> 
  <li>Copyright</li> 
  <li>|</li> 
  <li>Contact Us</li> 
  <li>|</li> 
  <li>Press Inquiries</li>
 </ul>
</div>
I want this footer text to stay centered in the screen no matter the width of the window. How would I do this using CSS??