Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Difference between browser

    hi everyone

    i try to run my project on 3 different browser

    Explorer firefox and crome

    each make some difference on position of object

    for example Overlapping buttons in explorer but non in firefox or crome

    why happen this?
    Last edited by jbrown; 22 Jul 2010, 02:30.

    #2
    Hi JBrown,
    What mode is your web page html set to run in?
    Generally if the html page in your web app runs in Standard mode it should not cause any problems.

    But if it is quirks mode, it will create some differences in the layout.

    Let us know if it helped.

    Comment


      #3
      i think i don't have do nothing for modify my browser mode

      how can see how run my browser?

      Comment


        #4
        Your Smart GWT application will have a module-name.html file which is the web app page.
        This file will be present in webapp folder of your module.
        In that html file, check whether you have
        <!doctype html> tag present.

        <!-- The DOCTYPE declaration above will set the -->
        <!-- browser's rendering engine into -->
        <!-- "Standards Mode". Replacing this declaration -->
        <!-- with a "Quirks Mode" doctype may lead to some -->
        <!-- differences in layout. -->

        Comment


          #5
          i use netbeans

          i go in main.gwt.xml i find this

          <!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.7.0//EN" "http://google-web-toolkit.googlecode.com/svn/tags/1.7.0/distro-source/core/src/gwt-module.dtd">

          what i do?

          Comment


            #6
            Do you have a main.html?

            Comment


              #7
              i have a main.gwt.xml i use Netbeans

              where i found the main.html????
              Last edited by jbrown; 22 Jul 2010, 09:34.

              Comment


                #8
                Assuming your module name is 'main' there should be a main.html automatically created in NetBeans and this would be in your webapp folder.

                Please check this post:
                http://forums.smartclient.com/showthread.php?t=9830

                Comment

                Working...
                X