Results 1 to 3 of 3

Thread: General Ext explanations wanted

  1. #1
    Ext User
    Join Date
    Oct 2007
    Vote Rating

    Default General Ext explanations wanted

    I have been using Ext 2.0 for some short time now and I have been impressed overall. I do have a couple questions, however, for which I can't seem to find explanations.

    First, why the need for Ext.BLANK_IMAGE_URL = '../some/localpath/to/s.gif'? If I don't specify this, the default implementation looks on the web for this image. Why is this image special and treated differently than all others? One tutorial I saw made mention of this only to say you want to make sure you set the local path because of course you wouldn't want to make a call to I agree, of course I wouldn't. I just don't understand the reasoning behind setting things up this way in the first place.

    Second, the ext-all.css includes
    What was behind the decision to make these styles apply directly to html tags rather than specific ext classes? I was bitten by this one and had to do some additional coding in order to have bulleted lists appear correctly on a page which also included some ext widgets.

    I am guessing that there are some good reasons for these things, but I would love to have some background to help me understand.

  2. #2
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Vote Rating


    sclement -

    A working path to a blank image is required for many of the css classes to function. Otherwise you will get a broken image in your Ext app. Many people re-arrange the directory structure when they download Ext and therefore their application would break. It points to a blank image on so that an image is available in most cases and the app functions as expected. There are many threads on the forums about this.

    The CSS which you pasted stems from YUI reset. The idea is to reset all of the CSS browser inconsistencies and to apply your css explicitly so that you get something that works cross-browser. Do a quick google for yui reset and also check out these links:
    Aaron Conran

  3. #3
    Sencha User
    Join Date
    Mar 2007
    Vote Rating


    Both of the questions have been asked answered repeatedly.

    See the FAQ for s.gif or search the forums - there are also several threads. Here's the most recent.
    Also searching for reset+css will return several threads discussing the CSS questions.

    Closing this thread - further discussion can go to the existing threads.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts