Results 1 to 7 of 7

Thread: reset.css missing?

Hybrid View

Previous Post Previous Post   Next Post Next Post
    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha Premium Member
    Join Date
    Oct 2011
    Posts
    142
    Vote Rating
    4
      0  

    Default reset.css missing?

    I have downloaded gxt-3.0.0-dp5.zip and unzipped it.

    My project name is SenchaExperiments.

    I have followed the instructions in the setup.txt file, and in following step 2b, added the following as the first .css reference in SenchaExperiments.html:

    <link rel="stylesheet" type="text/css" href="SenchaExperiments/css/reset.css" />

    However, while my bits of code to learn GXT seem to work, I keep getting an error message in the console:

    [WARN] No file found for: /SenchaExperiments/css/reset.css

    Where is the css/reset.css file? I didn't see any file with the name "reset.css" and so assumed this was some sort of built in thing that GXT would interpret correctly.

    Was this missing from the DP5 download?

  2. #2
    Sencha Premium Member
    Join Date
    Sep 2007
    Posts
    13,976
    Vote Rating
    131
      0  

    Default

    Try to remove the css folder of the href. The folder is not correct.

  3. #3
    Sencha Premium Member
    Join Date
    Oct 2011
    Posts
    142
    Vote Rating
    4
      0  

    Default

    Thanks! That fixed it.

    The following line then in the setup.txt should probably be changed to indicate this. It curently reads:

    <link rel="stylesheet" type="text/css" href="{module name}/css/reset.css" />

  4. #4
    Sencha User
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,737
    Vote Rating
    93
      0  

    Default

    Thanks, I just corrected setup.txt in SVN.

  5. #5
    Sencha User
    Join Date
    Oct 2009
    Posts
    15
    Vote Rating
    0
      0  

    Default

    Wouldn't it be easier to add:
    Code:
    <stylesheet src="reset.css"/>
    in module descriptor?

  6. #6
    Sencha User
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,737
    Vote Rating
    93
      0  

    Default

    We experimented with this, but I believe the eventual conclusion was that it should load earlier, or it will reset other existing css loaded by the html page.

Posting Permissions

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