Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Centered table

Reply
Thread Tools

Centered table

 
 
=?ISO-8859-1?Q?Fran=E7ois_de_Dardel?=
Guest
Posts: n/a
 
      11-01-2003
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

 
Reply With Quote
 
 
 
 
David Dorward
Guest
Posts: n/a
 
      11-01-2003
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/
 
Reply With Quote
 
 
 
 
PeterMcC
Guest
Posts: n/a
 
      11-01-2003
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.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I get a table embedded in a td tag to be centered with css? mark4asp HTML 4 02-18-2008 09:08 PM
table issue, centered column not possible, when text in other columns joes HTML 2 09-02-2007 04:26 AM
vertical centered table in Opera Fred Flash HTML 4 02-12-2006 02:45 PM
Q about loading large table that is centered Richard Javascript 1 12-18-2005 02:48 AM
How to determine a postion (for a menu in a centered table) Ernst Javascript 1 12-08-2004 12:52 PM



Advertisments