Reply to Re: Backgroun-repeat in IE doesn't work

Your name:

Reply:


Posted by Els on 07/26/06 13:23

jojo wrote:

> Hi all,
> seems that now I am the one who needs some advice...
>
> I'm starting to design a layout for a website (which does not exist
> yet). I just wrote the CSS and a HTML-dummy-page for testing it:
> http://www.hafner-web.de/jojo/html
>
> The problem is: I created a CSS class for external links, they show an
> icon at the right, like the blue one in Wikipedia. It all works fine in
> FF, but IE seems to ignore the background-repeat:no-repeat and it looks
> like he is starting the image on the left instead of the right
> (background-position: center right;)
>
> The complete class looks like this:
> a.external {padding-right:18px; background: url(external.gif) center
> right no-repeat;}
>
> I've used this before without any problems. I guess the answer is quite
> simple, just something I overlooked...

You have a more specific style in classes.css:
..blue #content a.external:link.
More specific overrides less specific, so just use that same selector
for this background-image.
Also, just url(external.gif) doesn't work, but
url(../styles/external.gif) does.
No idea why, as it's in the same directory as the stylesheet.

--
Els http://locusmeus.com/

Now playing: Emerson, Lake & Palmer - Jeremy Bender

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация