Icon IE 7

  1. #1

    Icon IE 7

    My project uses Desktop. In IE7 the icons of DesktopShortcut not appear.
    Ok in FF and Opera it's ok.

    Code:
    <Shortcuts> 
                    <ext:DesktopShortcut ModuleID="DesktopModule1" Text="Tipos Contatos"  IconCls="icon-phone48"/>                                
                    <ext:DesktopShortcut ModuleID="DesktopModule2" Text="Prospects"  IconCls="icon-factory48"/>                                
                </Shortcuts>
    Css:
     .icon-factory48
        {              
            width:48px;
            height:48px;
            background-image: url(../Img/factory_48x48.png) !important; 
        }                
     .icon-phone48
        {              
            width:48px;
            height:48px;
            background-image: url(../Img/phone2_48x48.png) !important; 
            
        }
    Maia.

  2. #2

    RE: Icon IE 7

    Hi,

    Do you mean that the icons are not appearing at all or just appearing in different way that you have specified? Please check this post, hope it helps :) :

    http://forums.ext.net/showthread.php?2480
    Last edited by geoffrey.mcgill; Feb 21, 2011 at 4:00 AM.
  3. #3

    RE: Icon IE 7

    The icons are not appearing, only appear the name (text) shortcut .
    With FF and Opera it's ok, but IE7 and IE8 no.
    I checked the post and changed the CSS, but it did not work.

     .icon-factory48
        {              
            width:48px;
            height:48px;
            background-image: url(../Img/factory_48x48.png) !important; 
            filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../Img/factory_48x48.png", sizingMethod="scale");
        }
    Any tips?
    Maia.
  4. #4

    RE: Icon IE 7

    Hi,
    I did download the Demo Coolite and it works, but it put the icons in
    separate folder does not work. The structure of the folders is as
    follows:

    Content/img/vista_start_button.gif

    I did the following tests:
    .start-button {
                background-image:url("Content/img/vista_start_button.gif") !important;
            }
    
    .start-button {
                background-image:url("../Content/img/vista_start_button.gif") !important;
            }
    .start-button {
                background-image:url("/Content/img/vista_start_button.gif") !important;
            }
    .start-button {
    
                background-image:url("../img/vista_start_button.gif") !important;
    
            }
    Any help!
    Maia
  5. #5

    RE: Icon IE 7

    Hi,
    I put the folder Img in the root and showed the images in IE7, IE8, FF3, Opera.
    As a subfolder of the Content does not work in the IE.

    The structure of the folders is as

    follows:

    Img/vista_start_button.gif

    .start-button {
                background-image:url("/Img/vista_start_button.gif") !important;
            }
    Thanks.
    Maia.

  6. #6

    RE: Icon IE 7

    Hi,

    If your url starts with / then it is mean web root


    Try


    background-image:url("Img/vista_start_button.gif") !important;



Similar Threads

  1. [CLOSED] FireFox 13.0 and ext:TextField icon: icon untidy.
    By supera in forum 2.x Legacy Premium Help
    Replies: 9
    Last Post: Jun 18, 2012, 5:21 PM
  2. Replies: 5
    Last Post: Aug 02, 2010, 8:44 AM
  3. Replies: 3
    Last Post: Jul 20, 2010, 7:48 PM
  4. Replies: 5
    Last Post: Mar 05, 2010, 3:15 PM
  5. Replies: 0
    Last Post: Jun 17, 2009, 6:36 PM

Posting Permissions