Problem with border in ie7

hey.
sorry about my english.

this is my site:
http://www.onenews.co.il/
in this page:
http://www.onenews.co.il/news/
i have white border in the right side of the image in the navigator.

in ie6 ie8 and firefox there is no border.

how i remove the white border?

i try it but its make some small diffrents between the browsers… very smalls.
i thing i will use your first fix you give me.

Hello danielevi! Welcome to SitePoint. :slight_smile:

I see no border in IE7. Have your refreshed the page etc?

Maybe post a screen shot.

Haven’t we already resolved this through the 10 pms you’ve sent me ;)?

He meant IE8 has the problem (I know through PM)

yes yes sorry…
i talk about ie8

ryan, the problem with the home resolved but not with the border of the secend <li>.

tnx.

someone know how to fix it?

Hi, I’m afraid I don’t see it. Please put the page back to its’ original format with the right border going wacky :slight_smile:

here you can see it:

what i need to do?

HI,

It looks like a rounding bug in IE8 in rtl environments. If you open/close the window width then you can see the image jog in and out so it all depends on what width the screen is open at as to whether you see it or not.

If you offset the image a little the bug isn’t so noticable.


<!--[if IE 8]>
<style type="text/css">
ul.pgnav li.current_page_item a  {background-position:99&#37; 100%!important}
</style>
<![endif]-->


e.g. in your page it would go here:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="rtl" lang="he-IL">

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<title>OneNews |   &#1495;&#1491;&#1513;&#1493;&#1514; &#1493;&#1502;&#1489;&#1494;&#1511;&#1497;&#1501;</title>

<!--[if !IE 6]><!-->
<link rel="stylesheet" title="light" href="[http://www.onenews.co.il/wp-content/themes/onenewspremium/style.css](http://www.sitepoint.com/forums/view-source:http://www.onenews.co.il/wp-content/themes/onenewspremium/style.css)" type="text/css" media="all" />
<!--<![endif]-->

<!--[if IE 6]>
<link rel="stylesheet" title="light" href="http://www.onenews.co.il/wp-content/themes/onenewspremium/style_ie6.css" type="text/css" media="all" />
<![endif]-->

<!--[if IE 6]>
<link rel="stylesheet" title="light" href="http://www.onenews.co.il/wp-content/themes/onenewspremium/style_ie6.css" type="text/css" media="all" />


<![endif]-->

<link rel="pingback" href="[http://www.onenews.co.il/xmlrpc.php](http://www.sitepoint.com/forums/view-source:http://www.onenews.co.il/xmlrpc.php)" />
[B]<!--[if IE 8]>
<style type="text/css">
ul.pgnav li.current_page_item a  {background-position:99% 100%!important}
</style>
<![endif]-->[/B]

I couldn’t see a better solution at the moment.

(Why have you used display:inline-block and float on the same elements? It should just be float and then display:inline for the ie6 double margin fix.)

thank you… working good

To avoid the extra stylesheet you could add 2px of the background colour to the right tab image and then give this rule to all browsers.

Add to end of stylesheet:


ul.pgnav li.current_page_item a {background-position:99% 100%!important}


Then see the attached image for the revised tab.

the attached image is the orginal image from my site or new image you make?

what i need to do with this image?

The attached image is a new image that I made for you. Just copy it and use it to replace yours :slight_smile: