Cynthia
Cynthia

Reputation: 5403

jQuery.corner.js in IE8 being weird

I am using jQuery.corner.js to put a top-rounded background behind the titles of all blog posts at http://s3.mynewsitereview.com/category/ask-holly

It works perfectly in Firefox, Opera, Safari, Chrome, and IE9. In IE8, though, only the first post has the rounded corners. Any subsequent posts' titles do not have the rounded corners.

Upvotes: 1

Views: 511

Answers (1)

Kevin B
Kevin B

Reputation: 95064

ID's must be unique. change your id's to classes and select using a class selector and things should start working.

Your code would change to:

$(function() { 
    $('.posthead').corner("top"); 
});

and your divs become

<div class="posthead" ...

Upvotes: 1

Related Questions