You have your javascript in style tags, not script tags.

Rick Faircloth wrote:
> 
> Hi, all.
> 
> I'm trying to implement a rounded corner effect found on
> http://methvin.com/jquery/jq-corner.html.
> 
> Below is the entire page, html, css, jquery, and all.
> 
> Does anyone see a problem with what I have that keeps the
> rounded corners from working?
> 
> Everything seems to work fine, except the corners on the div
> around squared corners.no rounding.
> 
> You can view the page at
> http://code_tests.whitestonemedia.com/jquery_round_corner_1.html.
> 
> Thanks!
> 
> Rick
> 
> Here's the entire page of code:
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> 
> <html>
> <head>
>       <title>jQuery Rounds Corners Demo</title>
>       
>       <style type="text/javascript"
> src="http://code_tests.whitestonemedia.com/jquery-latest.js";></style>
>       <style type="text/javascript"
> src="http://code_tests.whitestonemedia.com/jq-corner.js";></style>
>       
>       <style type="text/css">
>       
>       div.demo { 
>       float: left; width: 18em; padding: 20px; margin: 1em;
>     background: #c92; color:#000; text-align: center; font: verdana,
> arial,
> sans-serif;
>     }
>       
>       </style>
>       
> </head>
> 
> <body>
> 
> <div class="demo"><h1>Round</h1><p>$(this).corner();</p></div>
> 
> 
> 
> </body>
> </html>
> 
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Anyone-see-why-this-code-isn%27t-working--tf3124093.html#a8655492
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to