7 Replies Latest reply on Sep 12, 2008 8:36 AM by Newsgroup_User

    Making layers centered - "ALWAYS"

    idesrecs Level 1
      here's my site

      http://www.idesrecordings.com/testindex.htm

      it's centered enough on a PC in firefox and IE, I have the bars in a layer, and text in other layers...
      Someone told me it's not anywhere near centered on a MAC - how am I supposed to tell?
      What code or what can I do differently to make sure it is centered?
      Will trying to make it "nested" help?
      I just want my site to look the same on all computers! Why is it so hard!

        • 1. Re: Making layers centered - "ALWAYS"
          Kieran Briggs Level 1
          Im looking at it on a macbook pro with Firefox 3 and its centred for me.
          • 2. Re: Making a table centered - "ALWAYS"
            Level 7
            Hi.
            It´s not centered, but not only in Mac. I´m looking at it with IE 7 and FF3
            in PC and isn´t centered. Only when you set the resolution to 1280x1024 is
            centered.
            For center the page put all your content into a wrapper. Put this into your
            css file:

            #wrapper {
            width:950px;
            margin: 0 auto;
            position:relative;
            text-aling:left;
            }
            and this into your html:

            <div id="wrapper">
            All your content goes here
            </div>

            "idesrecs" <webforumsuser@macromedia.com> escribió en el mensaje de noticias
            news:gad2vd$nts$1@forums.macromedia.com...
            > here's my site
            >
            > http://www.idesrecordings.com/testindex.htm
            >
            > it's centered enough on a PC in firefox and IE, I have the bars in a
            > table,
            > and text in other fields...
            > Someone told me it's not anywhere near centered on a MAC - how am I
            > supposed
            > to tell?
            > What code or what can I do differently to make sure it is centered?
            >
            > I just want my site to look the same on all computers! Why is it so hard!
            >
            >
            >

            • 3. Re: Making a table centered - &quot;ALWAYS&quot;
              Level 7
              > text-aling:left;
              > }

              Should be text-align:left

              --
              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
              ==================


              "Miguel" <nose@aunmenos.com> wrote in message
              news:gadeb2$7mk$1@forums.macromedia.com...
              > Hi.
              > It´s not centered, but not only in Mac. I´m looking at it with IE 7 and
              > FF3 in PC and isn´t centered. Only when you set the resolution to
              > 1280x1024 is centered.
              > For center the page put all your content into a wrapper. Put this into
              > your css file:
              >
              > #wrapper {
              > width:950px;
              > margin: 0 auto;
              > position:relative;
              > text-aling:left;
              > }
              > and this into your html:
              >
              > <div id="wrapper">
              > All your content goes here
              > </div>
              >
              > "idesrecs" <webforumsuser@macromedia.com> escribió en el mensaje de
              > noticias news:gad2vd$nts$1@forums.macromedia.com...
              >> here's my site
              >>
              >> http://www.idesrecordings.com/testindex.htm
              >>
              >> it's centered enough on a PC in firefox and IE, I have the bars in a
              >> table,
              >> and text in other fields...
              >> Someone told me it's not anywhere near centered on a MAC - how am I
              >> supposed
              >> to tell?
              >> What code or what can I do differently to make sure it is centered?
              >>
              >> I just want my site to look the same on all computers! Why is it so hard!
              >>
              >>
              >>
              >

              • 4. Re: Making layers centered - &quot;ALWAYS&quot;
                mahendra rajeshirke Level 2
                i think u should change width

                WIDTH:auto; instead of WIDTH: 950px;

                and use style to put ur image in background
                • 5. Re: Making a table centered - &quot;ALWAYS&quot;
                  Level 7
                  .oO(Miguel)

                  >It´s not centered, but not only in Mac. I´m looking at it with IE 7 and FF3
                  >in PC and isn´t centered. Only when you set the resolution to 1280x1024 is
                  >centered.
                  >For center the page put all your content into a wrapper. Put this into your
                  >css file:
                  >
                  >#wrapper {
                  >width:950px;
                  >margin: 0 auto;
                  >position:relative;
                  >text-aling:left;

                  You can remove the last one. Besides the spelling mistake it's just an
                  ugly hack and not really needed. IE 6 also supports the proper way of
                  centering an element and IE 5 doesn't really matter anymore.

                  But what the hell is this:

                  [...]
                  <p align="center"> </p>
                  <blockquote>
                  <blockquote>
                  <p> </p>
                  </blockquote>
                  <p> </p>
                  <p class="unnamed1"> </p>
                  <p> </p>
                  <p> </p>
                  [...]

                  Holy sh*t. The page is full of such nonsense and tons of deprecated
                  markup! The OP should definitely drop the entire thing and start from
                  scratch, after having read some more about HTML and CSS.

                  Micha
                  • 6. Re: Making layers centered - &quot;ALWAYS&quot;
                    Level 7
                    Width:auto is functionally equivalent to NO WIDTH AT ALL. Why bother? If
                    you want no width, then just delete the style. It's unlikely to me that
                    this would fix anything, though.

                    --
                    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
                    ==================


                    "mahendra rajeshirke" <webforumsuser@macromedia.com> wrote in message
                    news:gadk1q$d8h$1@forums.macromedia.com...
                    >i think u should change width
                    >
                    > WIDTH:auto; instead of WIDTH: 950px;
                    >
                    > and use style to put ur image in background

                    • 7. Re: Making a table centered - &quot;ALWAYS&quot;
                      Level 7
                      idesrecs posted in macromedia.dreamweaver:

                      > here's my site
                      >
                      > http://www.idesrecordings.com/testindex.htm

                      In addition to the other comments, you have two links to
                      a missing nounderline.css style sheet. I assume it contains some style
                      rules you might be trying to use?

                      ----------------------------------------------------------
                      GET /nounderline.css HTTP/1.1
                      HTTP/1.x 404 Not Found
                      ----------------------------------------------------------
                      GET /nounderline.css HTTP/1.1
                      HTTP/1.x 404 Not Found
                      ----------------------------------------------------------


                      --
                      Mark "404" Boyd
                      Keep-On-Learnin' :)