We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1379
    • 22 Posts
    hey guys i dnt know how many of you guys are doing splicing for the websites, but i woudl like you guys to tell me how many of you use spacer image for the blank spaces and how many of you just give dimensions to the td because i want to know which is better. and also which will be safe and also load fast
      Regards
      Amitav Roy
      Web Designer
      Website: http://www.pixelgroups.com
      Portal: http://www.creativeporta.com
      • 25663 MODX Staff
      • 12,272 Posts
      CSS and no layout tables. smiley
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 36805
        • 354 Posts
        I also do not use table tags for the layouts of my websites. Also I never see the need of using spacer images.

        Anyways what you were asking was how much of us do use tables for layout if I understood correctly. So to give an answer to your question I can only guess but I would expect the number to be very small.
          • 32319
          • 129 Posts
          I no longer use tables either but digging back into the cobwebs of my brain for when I did I remember this:

          Some browsers won’t render a TD with no content properly so you have to put something in the space. You can use a   but that has some height so it wont work if you want a very short TD. I would usually use a one pixel transparent gif (1t.gif) and stretch it by the dimension that I want to enforce and let it just be 1 pixel on the other axis. If I don’t need to enforce either axis I just left it as 1px by 1px. The reason for leaving it as 1px on at least one axis is that it is difficult for the user get image like behaviors in what look like void spaces.

          Do yourself a favor, spend some time looking into table free layouts using <div> and CSS. Tables should only be used for tabular data.

          Hope that helps.

            "Regret for the things we did can be tempered by time; it is regret for the things we did not do that is inconsolable."
            -- Sydney Harris
            • 8619
            • 229 Posts
            I would agree with all of the above. With CSS and xhtml (correctly done and accessible) you can create any type of layout you would like.

            Here are a couple of postings that have some great CSS links:

            http://modxcms.com/forums/index.php/topic,13396.0.html

            http://modxcms.com/forums/index.php/topic,12790.0.html

            Check out some of them, or just do a google search for beginning css and you should find a ton of material out there to help you out....or just ask!

            Good luck!
              • 1379
              • 22 Posts
              hmm
              guys thnks for the info. i think with the trend
              shifting
              i have to learn to splice in div tags.
              any ways i will follow tuts.
              thanks
                Regards
                Amitav Roy
                Web Designer
                Website: http://www.pixelgroups.com
                Portal: http://www.creativeporta.com