Forums
|
|
|
Page 1 of 1
|
[ 2 posts ] |
|
Works on some elements, not others
Author |
Message |
innernature
Joined: Mon Sep 12, 2011 5:56 pm Posts: 2
|
 Works on some elements, not others
I've been previewing in IE9 in the IE8 Browser mode.
On this site the rounded corners aren't working on the navigation (on hover), but they are working on the search box below. Is this a z-index problem?
Also, as you can see the first image has the box-shadow, but the ones below don't, even though the style is being applied to all of the images.
Any ideas?
Thanks.
|
Mon Sep 12, 2011 6:01 pm |
|
 |
innernature
Joined: Mon Sep 12, 2011 5:56 pm Posts: 2
|
 Re: Works on some elements, not others
I got it to work. At first I had the rounded corners on the nav ul li a half working (the bottom half of the background was showing, but not the top half). When I grouped the classes and added position: relative; everything started working. I also moved the .htc file to the webroot, because it was working in a folder, and then when I checked later it wasn't working at all.
img, .white-rounded, #menu ul li a, nav ul li a:hover {behavior: url(/PIE.htc); position: relative;}
|
Wed Sep 14, 2011 10:36 am |
|
|
|
Page 1 of 1
|
[ 2 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 9 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|