3 Replies Latest reply on Oct 11, 2006 3:52 AM by Newsgroup_User

    autostretching two columns?

    nutquad
      Columns inside my nested table are left aligned but the whole table needs to be centered. Seems like I need to autostretch the columns on either side to achieve this. Why won't DW let me do this? Is there another way to achieve this look? Screenshot posted online at http://www.demilodesign.com/working/dmd_tracingimage.jpg

      Thanks for help.
        • 1. Re: autostretching two columns?
          Level 7
          Easiest way> select the table, set it to 100% width and set the alignment
          to center via the property inspector. This however, would really stretch
          out that menu table. You can adjust the %age width, ust keep the alignment
          to center. You can then add padding via css if you wish.


          --
          Nadia
          Adobe® Community Expert : Dreamweaver
          Skype: nadiaperre
          -------------------------------------------------
          Tutorials |SEO |Templates
          http://www.DreamweaverResources.com
          http://www.csstemplates.com.au
          -------------------------------------------------
          http://www.adobe.com/devnet/dreamweaver/css.html
          CSS Tutorials for Dreamweaver
          -------------------------------------------------

          "nutquad" <webforumsuser@macromedia.com> wrote in message
          news:ege16q$aav$1@forums.macromedia.com...
          > Columns inside my nested table are left aligned but the whole table needs
          > to be
          > centered. Seems like I need to autostretch the columns on either side to
          > achieve this. Why won't DW let me do this? Is there another way to achieve
          > this
          > look? Screenshot posted online at
          > http://www.demilodesign.com/working/dmd_tracingimage.jpg
          >
          > Thanks for help.
          >


          • 2. Re: autostretching two columns?
            nutquad Level 1
            Thank you, Nadia. You are very kind to reply.

            The percentage idea seems to work. I made the two cells on either side 30% and the nested table with the navigation 40%. Unless a viewer has a huge monitor, the table is actually more than 40% of the width. It is being squeezed and that worries me. Is this stable? When I make it 70% my cells are all loose and don't look good.

            I've put it online in case someone wants to comment. http://www.demilodesign.com/working/thisWorks.html
            • 3. Re: autostretching two columns?
              Level 7
              "nutquad" <webforumsuser@macromedia.com> wrote in message
              news:eggiec$ebo$1@forums.macromedia.com...
              : Thank you, Nadia. You are very kind to reply.

              You are more than welcome, though you may not like what I have to say
              further down :)

              : The percentage idea seems to work. I made the two cells on either side 30%
              and
              : the nested table with the navigation 40%. Unless a viewer has a huge
              monitor,
              : the table is actually more than 40% of the width. It is being squeezed and
              that
              : worries me. Is this stable? When I make it 70% my cells are all loose and
              don't
              : look good.
              :
              This comes from not understanding html and it all works :-)

              Tables stretch and shrink depending on the content within them. If you are
              wanting pixel perfect placement without knowing any html and css, this is
              going to be tough going for you. The use of percentages is that the
              elements are resized when a window is resized... this is what is meant by
              'fluid'. If you want the position to be fixed, you need to create a 'fixed'
              width layout.


              : I've put it online in case someone wants to comment.
              : http://www.demilodesign.com/working/thisWorks.html

              How you achieve the final layout is up to you, either by the use of tables
              or the use of styled divs.

              I would certainly go through some table / and or css tutorials before moving
              on - really. The last link in my sig, is a good starting point with css.


              --
              Nadia
              Adobe® Community Expert : Dreamweaver
              Skype: nadiaperre
              -------------------------------------------------
              Tutorials |SEO |Templates
              http://www.DreamweaverResources.com
              http://www.csstemplates.com.au
              -------------------------------------------------
              http://www.adobe.com/devnet/dreamweaver/css.html
              CSS Tutorials for Dreamweaver
              -------------------------------------------------