Professional Web Applications Themes

Table Alignment in Mozilla - HTML & CSS

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?...

  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. #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

  3. #3

    Default Re: Table Alignment in Mozilla

    In article <bg5pc0$4oc$1forums.macromedia.com>,
    "Chester Harold" <nonenone.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

  4. #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" <ericmeyerweb.com> wrote in message
    news:eric-A62ABC.09095229072003forums.macromedia.com...
    > In article <bg5pc0$4oc$1forums.macromedia.com>,
    > "Chester Harold" <nonenone.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

  5. #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" <notavailablethisaddress.com> wrote in message
    news:bg5q88$47n$1forums.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

  6. #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$1forums.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

  7. #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.09095229072003forums.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

Similar Threads

  1. Alignment problem with table
    By amyfromNC in forum Macromedia Dynamic HTML
    Replies: 1
    Last Post: November 1st, 03:47 PM
  2. Vertical alignment in table cells
    By UsuallyConfused in forum Macromedia Dynamic HTML
    Replies: 4
    Last Post: March 20th, 06:01 PM
  3. Table alignment...
    By smpro in forum Macromedia Dynamic HTML
    Replies: 10
    Last Post: November 28th, 08:47 AM
  4. table alignment
    By Chromana in forum Macromedia Dynamic HTML
    Replies: 2
    Last Post: July 16th, 09:02 PM
  5. SWF alignment in HTML Table
    By beandip in forum Macromedia Flash Sitedesign
    Replies: 0
    Last Post: October 23rd, 06:42 PM

Bookmarks

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