Can you use two plugin's at the same time?

Can you use two plugin's at the same time?

Hello!

Ok!  I have plugin A (rounded corners) and plugin B (gradient divs)  they both work independently.  Question is how do I get a rounded corner div that has a gradient background by utilizing both plugins?

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  3.   <head>
  4.     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5.   <title>
  6.       JQuery combo plugins
  7.     </title>
  8.     <style type="text/css">
  9.         div.main { background:#0000FF;height:400px;width:400px;margin:auto;font-size:2em;text-align:center;}
  10.         .main p {padding:20px;}
  11.     </style>
  12.     <script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
  13.     <script type="text/javascript" src="js/jquery.corner.js"></script>
  14.     <script type="text/javascript" src="/js/jquery.gradient.js"></script>
  15.     <script type="text/javascript" src="/js/jquery.dimensions.js"></script>
  16.    
  17.     <script type="text/javascript">
  18.     $(function(){
  19.         $('div.main').corner("20px");
  20.     });
  21.    
  22.     </script>
  23.     <script type="text/javascript">
  24.     $(function() {
  25.         $('.gmain').gradient({
  26.             from:      '0000FF',
  27.             to:        'FFFFFF',
  28.             direction: 'horizontal',
  29.             position:  'verticle',
  30.         });
  31.     });
  32.     </script>
  33.    
  34.    
  35. </head>
  36. <body>
  37.     <div class="main">
  38.         <div class="gmain">
  39.             <p>Hi There!</p>
  40.         </div>
  41.     </div>
  42.   </body>
This page resides at http://handlersspot.net/test/test2.html   Something tells me you can't do this.

Good lord it sucks being a noob! UGH!
But hey!  Thanks for any help that comes this way! =)