Previous Message
Next Message

SOS - IE Background Image

Sent by matt andrews on 22 March 2005 23:11


On Tue, 22 Mar 2005 15:42:56 -0600, mvilla [EMAIL-REMOVED]> wrote:
> Greetings,
> 
> I can't get IE to display a background image. It's a class but I've tried
> an ID as well and it still chokes. I'm stumped. The file with the embedded
> CSS is here: http://www.tamucc.edu/~mvilla/test/

> .tagline
>         {
>                 height:25px;
>                 background:#fff url(images/logo_tiny.gif)top right no-repeat; /*THIS
> IMAGE WON'T SHOW IN IE.WHY?*/
>                 padding:0 30px 10px 0;
>                 font-size:.68em !important;
>                 /*font-family:'Times New Roman', Century, serif;*/
>                 color:#666;
>         }

hi Mary,

it's just a simple typo: you need to add a space after the url().  add
the space like this, and it will work (in IE6/Win, at least):

background:#fff url(images/logo_tiny.gif) top right no-repeat;

hope that helps.
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: