Hi Guys,

I'm having some difficulty doing something that I thought would be
simple.  I have a Jquery UI slider which I'd like to place in <span>
tags instead of  <div> tags.

I'm using the simplest example on the jQuery UI site:

http://jqueryui.com/demos/slider/#default

It works fine when I use <div>:

<div id="slider"></div>

 But when I use <span>:

<span id="slider></div

The slider renders improperly.  Any help would be appreciated.  Here's
the code I'm using:

<style type="text/css">
                #demo-frame > div.demo { padding: 10px !important; };
        </style>
        <script type="text/javascript">
        $(function() {
                $("#slider").slider();
        });
        </script>

<div class="demo">
  <div id="slider"></div>
</div>

--

You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=.


Reply via email to