3 Replies Latest reply on Oct 31, 2008 4:57 AM by Newsgroup_User

    slices and centering in dreamweaver

    PiperdogDesign
      I have sliced my webpage in photoshop cs3 and followed the output options. I open the html file in dreamweaver and now want to center the sliced webpage. I watched a tutorial and it said I should be able to click and select the entire table and align it to center in the properties area. The problem I have is there is no container around all the slices so if I try to highlight the outer line of the slices it just grabs an individual slice. What have I done wrong that won't allow me to grab all the slices and center it as a page?
        • 1. Re: slices and centering in dreamweaver
          Level 7
          Plz can you give us a link so we can see

          Plus how is your image holding together in your web page, in a table or in
          div

          But my guess would be to create a div that will contains all of imges
          regardless if they are in tables or in div. Then you can center the div
          with some CSS

          here is an example can you could copy

          <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
          <html xmlns=" http://www.w3.org/1999/xhtml">
          <head>
          <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
          <title>Center Basics</title>
          <style type="text/css">
          #wrapper {
          width:680px;
          margin: 0 auto;
          padding: 0 20px;
          border-left: 1px solid #666666;
          border-right: 1px solid #666666;
          }
          </style>
          </head>
          <body>
          <div id="wrapper">
          put your code here or table
          </div>
          </body>
          </html>

          "PiperdogDesign" <webforumsuser@macromedia.com> wrote in message
          news:gedhl4$j2a$1@forums.macromedia.com...
          >I have sliced my webpage in photoshop cs3 and followed the output options.
          >I
          > open the html file in dreamweaver and now want to center the sliced
          > webpage. I
          > watched a tutorial and it said I should be able to click and select the
          > entire
          > table and align it to center in the properties area. The problem I have
          > is
          > there is no container around all the slices so if I try to highlight the
          > outer
          > line of the slices it just grabs an individual slice. What have I done
          > wrong
          > that won't allow me to grab all the slices and center it as a page?
          >


          • 2. Re: slices and centering in dreamweaver
            Level 7
            >>What have I done wrong

            Primarily, creating your HTML in and image app (Photoshop). Start over
            creating only your images in PS and build the actual (HTML) page in DW or
            you are going to be faced with an endless string of frustrating roadblocks.
            --

            Walt


            "PiperdogDesign" <webforumsuser@macromedia.com> wrote in message
            news:gedhl4$j2a$1@forums.macromedia.com...
            >I have sliced my webpage in photoshop cs3 and followed the output options.
            >I
            > open the html file in dreamweaver and now want to center the sliced
            > webpage. I
            > watched a tutorial and it said I should be able to click and select the
            > entire
            > table and align it to center in the properties area. The problem I have
            > is
            > there is no container around all the slices so if I try to highlight the
            > outer
            > line of the slices it just grabs an individual slice. What have I done
            > wrong
            > that won't allow me to grab all the slices and center it as a page?
            >


            • 3. Re: slices and centering in dreamweaver
              Level 7
              Taking a Fireworks comp to a CSS-based layout in Dreamweaver
              http://www.adobe.com/devnet/fireworks/articles/web_standards_layouts_pt1.html
              http://www.adobe.com/devnet/fireworks/articles/web_standards_layouts_pt2.html


              --
              Murray --- ICQ 71997575
              Adobe Community Expert
              (If you *MUST* email me, don't LAUGH when you do so!)
              ==================
              http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
              http://www.dwfaq.com - DW FAQs, Tutorials & Resources
              ==================


              "PiperdogDesign" <webforumsuser@macromedia.com> wrote in message
              news:gedhl4$j2a$1@forums.macromedia.com...
              >I have sliced my webpage in photoshop cs3 and followed the output options.
              >I
              > open the html file in dreamweaver and now want to center the sliced
              > webpage. I
              > watched a tutorial and it said I should be able to click and select the
              > entire
              > table and align it to center in the properties area. The problem I have
              > is
              > there is no container around all the slices so if I try to highlight the
              > outer
              > line of the slices it just grabs an individual slice. What have I done
              > wrong
              > that won't allow me to grab all the slices and center it as a page?
              >