IE margin and line-height |
IE margin and line-height |
Mar 2 2009, 03:53 PM
Post
#1
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 59 Joined: Aug 2008 Member No: 681,928 |
'K, it's been a while since I've been around, but I'm in need of some help again. And again with Internet Explorer. Only two problems this time, though.
1. On the right side bar of my site (f.erocio.us), the linked images at the top have a tiny (albeit, hellishly annoying) margin underneath the image, outside the border. It's a weird number ... 3 pixels. Nothing in my style sheet is a 3-pixel margin, so it's confusing me. 2. The links under the "Good to Know..." heading. I set a specific line height, but the line height is showing up differently in only IE (it works fine in Firefox and Safari, and I'm assuming in Opera, but I haven't checked it). Since IE shows it differently, the bullet wiggles when you hover over the link. Stupid. Here's the coding for those links, though: CODE ul { list-style:none; } #right ul { margin:0; } #right ul li { line-height:2.0em; } #right ul li a { background:#0a0a0a url(images/ul-bullet.png) no-repeat; border:1px solid #2b2b2b; border-left:0; display:block; margin:1px 0; padding:5px 5px 5px 20px; } #right ul li a:hover { background:#0f0f0f url(images/ul-bullet.png) no-repeat bottom left; border-left:0; } #right ul li a span { color:#ff0066; } #right ul li a:hover span { color:#b50048; } Any ideas, other than making a separate style sheet only for IE? Thanks. =) |
|
|
|
Nadiyya IE margin and line-height Mar 2 2009, 03:53 PM
HeartOfPandora You should try to be more thorough when you define... Mar 3 2009, 05:11 PM
Nadiyya I didn't give a position for the background bu... Mar 3 2009, 05:32 PM
HeartOfPandora It might be that you're mixing em with px, som... Mar 3 2009, 05:36 PM
HeartOfPandora Have you tried validating? That would probably ca... Mar 3 2009, 05:38 PM
Nadiyya The em is just relative to what you already have d... Mar 3 2009, 05:40 PM![]() ![]() |