We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10076
    • 1,024 Posts
    well,it does seem to work. However the left side column now is pushed  to the right, hmmm.
    Menu´s fine, needs some tuning and stuff, thanks a lot.

    Still some errors on the page in that new validator,

    gr fr...need sleep
      • 10226
      • 412 Posts
      Take a power-nap and dream of padding, that is probably the problem.

      CSS is fun smiley (only when it works and you understand why your newest mod broke the last one)
        • 27708 MODX Staff
        • 2,502 Posts
        Well you are now going to find that there are several ways to skin a cat in CSS.

        Try adding a height:1%; to the .menu class in you css. It works in Firefox. Most browsers won’t collapse the div on top of the link so this should do the trick.

        Option 2: Wrap the #sidebar and #content in a #content_wrapper and then put a clear:both on the #content_wrapper. Instead of using a margin of 170px on the #content div why not float it either right or left. I used to do the same thing but I found x-browser compatibility was easier than using a spaced margin. So you could keep your #sidebar with the width of 150px and float left and make the #content a fixed width of 480px and float right. I would also move the #sidebar below the #content div in the HTML the floats will place them where you want them.

        OR you can use absolute positioning on the #sidebar (position:absolute; top:0; left:0; width:150px;) and the #content (position:absolute; top:0;right:0;width:480px;) This would also allow you to move your #sidebar div below the content in the HTML template and show it where you want. Just make sure that your #content_wrapper has position:relative;.

        Way too much information here but let me know if you have any more questions.

        All the best,

        Jay
          Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub
          • 10076
          • 1,024 Posts
          Well that was resolved, thanks for the unpit, Jay. Created a wrapper indeed but position relative for the content ans sidewrap boxes, and all looks okay now. The dropdown was really easy using the ones in the wayfinder dir.
          Now to the next problem.

          tnx all, best frank
            • 27708 MODX Staff
            • 2,502 Posts
            Glad to have helped. Best of luck on your MODx adventures.

            Jay
              Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub