Centring tables using CSS
by "Rajnish Bhaskar" <9705228b(at)student.gla.ac.uk>
|
| Date: |
Thu, 23 Mar 2000 20:43:39 -0000 |
| To: |
hwg-basics(at)mail.hwg.org |
| |
todo: View
Thread,
Original
|
|
Hi all,
Er, this may be a very simple question, but how do you centre tables
using CSS? I've just noticed that a page of mine that was centring fine
under NC4.7 is no longer centred with NC4.72. I've narrowed the problem
down to the following line in my (inline) style sheet:
P,TD, LI {font-family: verdana, arial, helvetica, sans serif; color: 3366cc;
text-align: justify}
If I remove this line, then it centres fine (due to to the "normal" markup
element <.table align="center">).
Thanks in advance for all your help. The URL is:
http://www.gla.ac.uk/Clubs/WebSoc/~9705228b/discuss/ranting2.html
Raj.
PS: Please visit the content on this page with a sense of humour, it's not
meant to offend anybody :o).
------------------------------------------------------------------
__ __
| | | | Rajnish Bhaskar, University of Glasgow
|_ / |_ / E-Mail: rajy(at)i.am
| \ | \ Home Page: http://i.am/rajy
| \ |__/
Tourist, Rincewind decided, meant 'idiot'.
-- (Terry Pratchett, The Colour of Magic)
HTML: hwg-basics mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.