Table Alignment in Mozilla

Ask a Question related to HTML & CSS, Design and Development.

  1. #1

    Default Table Alignment in Mozilla

    Hello! I can't figure out if this is a standards thing or if I am missing
    some Moz-knowledge, but I have my table set with align="center" and IE will
    display the table centered, but Mozilla won't. If you need to see the page,
    it is here:

    [url]http://139.81.154.50/~bgilead/bandb.htm[/url]

    Thanks for any input on how to center the table,
    Chet

    P. S. I know I could wrap all the tables in a <div>, and that should work,
    but is it really necessary?


    Chester Harold Guest

  2. Similar Questions and Discussions

    1. Alignment problem with table
      Hello, I am trying to make some pages in PHP on Dreamweaver. I am using tables to make the main pages, and making Include files for things like the...
    2. Vertical alignment in table cells
      If I create a table and then merge several cells vertically, I can enter some text and can set the vertical alignment of the new 'spanned' cell to...
    3. Table alignment...
      Hi. I have a left-aligned table which, when I view it in Design View, is immediately below my page heading, exactly where I want it. But when I...
    4. table alignment
      Anyone know how to put plain text on an image which is not a background? Thanks
    5. SWF alignment in HTML Table
      i've created a "seamless" HTML template using tables. i want to replace an img element with a flash element. img size is 10 x 10. <td> width is...
  3. #2

    Default Re: Table Alignment in Mozilla

    Chester Harold wrote:
    > Hello! I can't figure out if this is a standards thing or if I am missing
    > some Moz-knowledge, but I have my table set with align="center" and IE
    > will
    > display the table centered, but Mozilla won't. If you need to see the
    > page,
    > it is here:
    >
    > [url]http://139.81.154.50/~bgilead/bandb.htm[/url]
    >
    > Thanks for any input on how to center the table,
    > Chet
    >
    > P. S. I know I could wrap all the tables in a
    > , and that should work,
    > but is it really necessary?
    >
    >
    add this to your maincell style

    text-align: center

    Then insert another 100% width table above the others; paste'We are
    located...........and Killington' into it.

    osgood Guest

  4. #3

    Default Re: Table Alignment in Mozilla

    In article <bg5pc0$4oc$1@forums.macromedia.com>,
    "Chester Harold" <none@none.com> wrote:
    > Hello! I can't figure out if this is a standards thing or if I am missing
    > some Moz-knowledge, but I have my table set with align="center" and IE will
    > display the table centered, but Mozilla won't.
    Something like this should cover IE's and Mozilla's requirements:

    <table align="center" style="margin: 0 auto;">
    ...
    </table>

    --
    Eric A. Meyer
    [url]http://www.meyerweb.com/eric/[/url]
    Eric A. Meyer Guest

  5. #4

    Default Re: Table Alignment in Mozilla

    Thanks! Now for the forbidden question - why does this work, when
    align="center" doesn't? Is it a deficiency with Mozilla until a future
    release?

    Chet

    "Eric A. Meyer" <eric@meyerweb.com> wrote in message
    news:eric-A62ABC.09095229072003@forums.macromedia.com...
    > In article <bg5pc0$4oc$1@forums.macromedia.com>,
    > "Chester Harold" <none@none.com> wrote:
    >
    > > Hello! I can't figure out if this is a standards thing or if I am
    missing
    > > some Moz-knowledge, but I have my table set with align="center" and IE
    will
    > > display the table centered, but Mozilla won't.
    >
    > Something like this should cover IE's and Mozilla's requirements:
    >
    > <table align="center" style="margin: 0 auto;">
    > ...
    > </table>
    >
    > --
    > Eric A. Meyer
    > [url]http://www.meyerweb.com/eric/[/url]

    Chester Harold Guest

  6. #5

    Default Re: Table Alignment in Mozilla

    Thanks for the feedback. I did this, but it did not work, just so you know.

    Chet

    "osgood" <notavailable@thisaddress.com> wrote in message
    news:bg5q88$47n$1@forums.macromedia.com...
    > Chester Harold wrote:
    >
    > > Hello! I can't figure out if this is a standards thing or if I am
    missing
    > > some Moz-knowledge, but I have my table set with align="center" and IE
    > > will
    > > display the table centered, but Mozilla won't. If you need to see the
    > > page,
    > > it is here:
    > >
    > > [url]http://139.81.154.50/~bgilead/bandb.htm[/url]
    > >
    > > Thanks for any input on how to center the table,
    > > Chet
    > >
    > > P. S. I know I could wrap all the tables in a
    > > , and that should work,
    > > but is it really necessary?
    > >
    > >
    > add this to your maincell style
    >
    > text-align: center
    >
    > Then insert another 100% width table above the others; paste'We are
    > located...........and Killington' into it.
    >

    Chester Harold Guest

  7. #6

    Default Re: Table Alignment in Mozilla

    Chester Harold wrote:
    > Thanks for the feedback. I did this, but it did not work, just so you
    > know.
    >
    > Chet
    >
    > "osgood" wrote in message
    > news:bg5q88$47n$1@forums.macromedia.com...
    >
    > >Chester Harold wrote:
    > >
    > >
    > >>Hello! I can't figure out if this is a standards thing or if I am
    >
    > missing
    >
    > >>some Moz-knowledge, but I have my table set with align="center" and IE
    > >>will
    > >>display the table centered, but Mozilla won't. If you need to see the
    > >>page,
    > >>it is here:
    > >>
    > >>[url]http://139.81.154.50/~bgilead/bandb.htm[/url]
    > >>
    > >>Thanks for any input on how to center the table,
    > >>Chet
    > >>
    > >>P. S. I know I could wrap all the tables in a
    > >>, and that should work,
    > >>but is it really necessary?
    > >>
    > >>
    > >
    > >add this to your maincell style
    > >
    > >text-align: center
    > >
    > >Then insert another 100% width table above the others; paste'We are
    > >located...........and Killington' into it.
    > >
    >
    >
    >
    No youre right after testing, it only works in IE.

    Humm I thought inline styling align: center of a td cell or table was
    depreciated, although it does work. How pants is that.

    osgood Guest

  8. #7

    Default Re: Table Alignment in Mozilla

    Chester Harold wrote:
    > Thanks! Now for the forbidden question - why does this work, when
    > align="center" doesn't? Is it a deficiency with Mozilla until a future
    > release?
    >
    > Chet
    >
    > "Eric A. Meyer" wrote in message
    > news:eric-A62ABC.09095229072003@forums.macromedia.com...
    >
    > >In article ,
    > > "Chester Harold" wrote:
    > >
    > >
    > >>Hello! I can't figure out if this is a standards thing or if I am
    >
    > missing
    >
    > >>some Moz-knowledge, but I have my table set with align="center" and IE
    >
    > will
    >
    > >>display the table centered, but Mozilla won't.
    > >
    > > Something like this should cover IE's and Mozilla's requirements:
    > >
    > >
    > > ... >
    >
    >
    > >
    > >--
    > >Eric A. Meyer
    > >[url]http://www.meyerweb.com/eric/[/url]
    >
    >
    >
    Align center does work, just not the way you are applying it. You should
    be choosing align center from the 'Horz' drop menu not clicking the text
    align center menu.

    Im still not sure whether that method is depreciated or not though,
    thought it was. Trying to control as much as possible via css.

    osgood Guest

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139