We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37272
    • 216 Posts
    Hi,

    Is there any reason why this will not work with Modx 0.9.5:

    * {
        margin: 0;
        padding 0;
    }


    It took me an age to work what was happening. I only resolved the problem when I added the values to the body element. Both Firefox and IE affected.

    Is there something I’m missing?

    Thanks.
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      There is nothing at all in MODx that in any way affects your CSS.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 37272
        • 216 Posts
        Several times I’ve had to reset the document to use no template, but then I’d notice that it again was using a template. I’ve just reset it again, and removed the code from the body element - the universal selector now appears to be working. When I switch between the CSS document using a template and using no template, the bug toggles accordingly.

        I’ve had to reset the document (and another CSS document for the same template) several times. I can only assume that one or the other or both were always set to use a template when I was attempting to trouble shoot. Are there any known issues with template selection not sticking?

        Thanks.
          • 37272
          • 216 Posts
          Quote from: sottwell at Dec 16, 2007, 04:01 PM

          There is nothing at all in MODx that in any way affects your CSS.

          Not unless you have problems with ’no template’ not sticking. sad
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            Ah, you are using a document as a CSS file. I’ve not heard of problems with template settings not being properly saved, though.
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 33372
              • 1,611 Posts
              Nor have I, but you might want to upgrade your installation to 0.9.6.1 and see if the problem continues (not many people are still using 0.9.5, so it’s hard to get accurate support for it).
                "Things are not what they appear to be; nor are they otherwise." - Buddha

                "Well, gee, Buddha - that wasn't very helpful..." - ZAP

                Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
                • 36747
                • 138 Posts
                The best "CSS reset" I’ve seen is http://blueprintcss.googlecode.com/svn/blueprint/trunk/blueprint/lib/reset.css

                It’s part of Blueprint CSS framework http://code.google.com/p/blueprintcss/

                cheers

                PS: Sorry for this OT
                  patagonia, argentina
                  • 37272
                  • 216 Posts
                  Quote from: sottwell at Dec 16, 2007, 04:11 PM

                  Ah, you are using a document as a CSS file. I’ve not heard of problems with template settings not being properly saved, though.

                  I think it just might have been the server. It had been playing up shortly before I had problems making the ’no template’ setting stick.
                    • 37272
                    • 216 Posts
                    Quote from: ZAP at Dec 16, 2007, 05:50 PM

                    Nor have I, but you might want to upgrade your installation to 0.9.6.1 and see if the problem continues (not many people are still using 0.9.5, so it’s hard to get accurate support for it).

                    Hi,

                    Yes, I will upgrade soon. Any particular problems associated with a 0.9.5 to 0.9.6.1 upgrade?
                      • 33372
                      • 1,611 Posts
                      Quote from: Colin at Dec 20, 2007, 01:40 PM

                      Yes, I will upgrade soon. Any particular problems associated with a 0.9.5 to 0.9.6.1 upgrade?
                      I’ve never had any major problems with that upgrade. I think once it didn’t update TinyMCE properly and it always seems to install the QuickEdit plugin even if you uncheck that, but both of those minor issues are easily addressed should they occur. From what I remember there were a lot more quirks going from 0.9.2 to 0.9.5.
                        "Things are not what they appear to be; nor are they otherwise." - Buddha

                        "Well, gee, Buddha - that wasn't very helpful..." - ZAP

                        Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options