Getting started with JQuery UI

Getting started with JQuery UI

Hi,
I have the following html code that I want to enhance with the JQuery UI. I want to make the anchor links into
buttons. The style tag was produced by Coffecup Software. 

Am I adding the JQuery UI stylesheet right?

Do I have to include a class with the anchors? 

The example I looked at included the stylesheet and js files and anchors were displayed as buttons with no further coding. So would the Coffecup styling be interfering?

I am not sure what to do with the UI functionality to reproduce this since all they seemed to do was include the stylesheet and js files and everything just worked.

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  5. <title>Your Title</title>

  6. <style type="text/css" media="screen">
  7. html, body { margin: 0; padding: 0; }
  8. body { color: #333; font: 12px Helvetica, Arial, sans-serif; line-height: 18px; }
  9. h2 { color: #333; }
  10. a { color: #337810; }
  11. p { margin: 0 0 18px; }
  12. #wrapper { float: left; width: 100%; }
  13. /* Header */
  14. #header { background: #fff; border-bottom: 2px solid #ddd; }
  15. #header h1   { color: #004b6f; margin: 0 0 3px; padding: 24px 18px 0; }
  16. #header p { color: #666; font-size: 11px; font-weight: bold; padding: 0 18px; }
  17. /* Content Style */
  18. #navigation { border-bottom: 1px solid #ccc; padding-left: 18px; }
  19. #navigation ul { padding: 0 18px 9px; }
  20. #content { border-bottom: 1px solid #ccc; margin: 0 18px 9px; }
  21. #extra { margin: 0 0 0 18px; }
  22. #extra small { font-size: 11px; line-height: 18px; }
  23. #content p, #extra p { padding-right: 18px; }
  24. /* Content Positioning and Size */
  25. #navigation { float: left; width: 200px; margin-left: -100%; }
  26. #content { margin-left: 243px; }
  27. #extra { clear: left; } /* Footer */
  28. #footer { background: #B26B6B; border-bottom: 2px solid #999; clear: both; width: 100%; }
  29. #footer a { color: #eee; }
  30. #footer p { color: #ccc; margin: 0; padding: 0 18px 10px; }
  31. #footer ul { border-bottom: 1px solid #555; list-style: none; margin: 0 18px 6px; padding: 10px 0 6px; }
  32. #footer li { display: inline; font-size: 11px; font-weight: bold; padding-right: 5px; }
  33. </style>
  34. <!--[if IE]>
  35. <style type="text/css">
  36.    #navigation, #content, #extra { margin-top: 20px; }
  37. </style>
  38. <![endif]-->
  39. <link href="css/smoothness/jquery-ui-1.10.4.custom.css" rel="stylesheet" />
  40. <script type="text/javascript" src="lib/jquery-1.10.2.js"></script>
  41. <script type="text/javascript" src="lib/jquery-ui-1.10.4.custom.js"></script>
  42. </head><body>
  43. <div id="container">
  44. <div id="header">
  45. <div style="text-align: center;"><img  src="lane.png" width="1024" height="200" alt="" title="" /></div>
  46. </div>
  47. <div id="wrapper">
  48. <div id="content">
  49. <h2>Under Construction</h2>
  50. <img src="Under-Construction-1.gif" width="300" height="300" alt="" title="" /> 
  51. <p>Phone</p>
  52. <p>Fax</p>
  53. <p>Mobile</p>
  54. </div>
  55. </div>
  56. <div id="navigation">
  57. <ul>
  58. <li><a href="index.html" class="ui-button:a">Home</a></li>
  59.         <li><a href="Services.html">Services</a></li>
  60. <li><a href="About.html">About</a></li>
  61. <li><a href="Contact.html">Contact</a></li>
  62. </ul>
  63. </div>
  64. <div id="extra">
  65. </div>
  66. <div id="footer">
  67. <ul>    
  68. <li><a href="index.html">Home</a></li>
  69. <li><a href="Services.html">Services</a></li>
  70. <li><a href="About.html">About</a></li>
  71. <li><a href="Contact.html">Contact</a></li>
  72. </ul>
  73. </div>
  74. </div>
  75. </body>
  76. </html>