creating image tag in html and adding css
<p>I am creating an image in jQuery like this but the border attribute doesn't seem to work... Is my syntax wrong?</p>

<pre><code>    var img =
         $('&lt;img&gt;', {
            'title': 'Event  (Event '+wavy_counter+')',
            'class': 'listed_event',
            'id': 'wavy_event_'+wavy_counter+'',
            'data-count': ''+wavy_counter+'',
            'src': 'final_tutorial_buttons/wavy.png', 
            'height': '50', 
            'width': '50',
            'border': 'solid',
            'border': '2px',
            'border': 'red',
            'onclick': 'highlight.call(this);', 
            'data-start': '', 
            'data-end': ''
        });
</code></pre>

<p>I get a border but is black instead of red.</p>
