We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16148
    • 84 Posts
    No, but now i have done it, but still no result.
      • 8609
      • 607 Posts
      Quote from: kOLDSQ at Feb 17, 2010, 01:20 PM

      No, but now i have done it, but still no result.

      I’ve viewed the source of your page and you’re missing the closing </html> at the end of the template.

      What do you mean when you say your the divs disappear?
        • 19948
        • 7 Posts
        put Kontrol Panel in its own div the 100 spaces are not a good idea.

        remove all your inline css and add it to stylesheet.css

        [*#content*] for content

        page title should also be modx code.

        i don’t see a close for your html </html>

        pile of errors.... get the page to validate, if your still having problems, add a ie if statement for and line up things in ie seperatly.

          • 16148
          • 84 Posts
          It’s not for MODx yet. I’ll do that later.

          I’m sure that there aren’t any inline styles if, if u find some, just say it to me.

          When i remove the <!doctype> code, my site works totally normally.

          http://www.paralized.dk/steelhosting/ - that my new site.
            • 23299
            • 1,161 Posts
            Your html should look something like this(this is a STRICT version)
            <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
            "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
            <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
            <head>
            <title>TITLE Goes here</title>
            <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
            <meta name="description" content=" "/>
            <meta name="author" content=" "/>
            <meta name="copyright" content=" "/>
            <meta name="keywords" content=" "/>
            <meta http-equiv="imagetoolbar" content="no"/>
            <script type="text/javascript"></script>
            <link rel="stylesheet" type="text/css" href="yourstylesheet.css"/>
            </head>
            
            <body>
            
            
            
            </body>
            </html>


            Also, in your markup you are using a <center> when it should be <div id="center">, but that should be part of your CSS file anyway...
              • 16148
              • 84 Posts
              <center> is because when i use margin: 0 auto; then, it dosen’t work in IE
                • 20413
                • 2,877 Posts
                If you want to use HTML 4.01 Transitional instead of xhtml
                you need to use html 4 tags.

                http://www.google.com/search?hl=en&q=html+4+versus+xhtml
                  @hawproductions | http://mrhaw.com/

                  Infograph: MODX Advanced Install in 7 steps:
                  http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

                  Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
                  http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
                  • 23299
                  • 1,161 Posts
                  Quote from: kOLDSQ at Feb 17, 2010, 03:13 PM

                  <center> is because when i use margin: 0 auto; then, it dosen’t work in IE

                  What most people do is this (CSS):
                  body{ text-align:center;}
                  #wrapper{text-align:left; margin: 0 auto;}


                  That takes care of IE and keeps unwanted inline styles out of the markup...
                    • 4971
                    • 964 Posts
                    It does not stop amazing me the friendliness
                    and helpfulness of this community!!!

                    In tons of other communities a question like this one
                    would have been met with harsh reactions and answers
                    (just go to MooTools and your head would be have been
                    chopped before you could react), but not here, here we
                    have just good help and advise.

                    Glad to be involved in a community with the kind of
                    people that we enjoy having here at MODx.

                    KUDOS TO ALL!!!!
                      Website: www.mercologia.com
                      MODX Revo Tutorials:  www.modxperience.com

                      MODX Professional Partner
                      • 23299
                      • 1,161 Posts
                      Agreed...
                      smiley