Centered table

Discussion in 'HTML' started by =?ISO-8859-1?Q?Fran=E7ois_de_Dardel?=, Nov 1, 2003.

  1. How would you solve this one:

    Using <table width="90%" align="center">

    works in MSIE, Mac and PC, and iCab
    doesn't work in Safari, Netscape 7 (Mac): the table is kept aligned left.

    Is the table alignment deprecated?

    The example is in my home page (URL below), big main table. What have I
    done wrong?

    --
    François de Dardel
    --
    http://mapage.noos.fr/dardelf/
    Utilisez mon adresse sur noos seulement
    Use only my noos e-mail
     
    =?ISO-8859-1?Q?Fran=E7ois_de_Dardel?=, Nov 1, 2003
    #1
    1. Advertising

  2. François de Dardel wrote:

    > How would you solve this one:
    >
    > Using <table width="90%" align="center">
    > works in MSIE, Mac and PC, and iCab
    > doesn't work in Safari, Netscape 7 (Mac): the table is kept aligned left.


    By using CSS for presentation.

    <table style="margin-left: 10%; margin-right: 10%;">

    > Is the table alignment deprecated?


    Yes

    > The example is in my home page (URL below), big main table. What have I
    > done wrong?


    You have a main big table. http://www.allmyfaqs.com/faq.pl?Tableless_layouts


    --
    David Dorward http://dorward.me.uk/
     
    David Dorward, Nov 1, 2003
    #2
    1. Advertising

  3. =?ISO-8859-1?Q?Fran=E7ois_de_Dardel?=

    PeterMcC Guest

    David Dorward wrote:
    > François de Dardel wrote:
    >
    >> How would you solve this one:
    >>
    >> Using <table width="90%" align="center">
    >> works in MSIE, Mac and PC, and iCab
    >> doesn't work in Safari, Netscape 7 (Mac): the table is kept aligned
    >> left.

    >
    > By using CSS for presentation.
    >
    > <table style="margin-left: 10%; margin-right: 10%;">
    >

    Or <table style="margin-left: 5%; margin-right: 5%;"> ;)

    --
    PeterMcC
    If you feel that any of the above is incorrect,
    inappropriate or offensive in any way,
    please ignore it and accept my apologies.
     
    PeterMcC, Nov 1, 2003
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Fred Flash

    vertical centered table in Opera

    Fred Flash, Feb 11, 2006, in forum: HTML
    Replies:
    4
    Views:
    475
    Richard Sexton
    Feb 12, 2006
  2. joes
    Replies:
    2
    Views:
    448
    Neredbojias
    Sep 2, 2007
  3. mark4asp
    Replies:
    4
    Views:
    537
    Ben C
    Feb 18, 2008
  4. Ernst
    Replies:
    1
    Views:
    82
    Ernst
    Dec 8, 2004
  5. Richard
    Replies:
    1
    Views:
    90
    Richard
    Dec 18, 2005
Loading...

Share This Page