Re: positioning

by bkrWeb Services <bkrweb(at)bkrweb.com>

 Date:  Tue, 20 Mar 2001 22:08:51 -0600
 To:  Jim <webmaster(at)thedigitalpage.com>,
"HWG Style" <hwg-style(at)hwg.org>
 References:  bkrweb ci241455a bkrweb2
  todo: View Thread, Original
Thanks to everyone for their help.  This did in fact work.

Kathie


At 05:43 PM 3/20/01 -0800, Jim wrote:
>At 04:08 PM 3/20/01 , bkrWeb Services tickled the electrons and they 
>aligned themselves to form these words:
>>But what do I put in the tag?
>>  Table { text-align: center; } has been suggested.  The problem is that 
>> centers all the text in the table.  I have a table with left aligned 
>> text.  I want the text to be left aligned, but the table to be centered.
>>[big snip]
>>>
>>>| Is it possible to center a table using css?  I can do it with
>>>| align="center" in the table tag, but can I do it just with css?
>
>You can place the table in a DIV that uses text-align:center and it will 
>work. Just replace Table with Div in your example above and enclose the 
>table in DIV tags and it should work just fine,
>
>
>Jim Parsons
>webmaster(at)thedigitalpage.com
>phone: (509) 521-5424
>fax: (603) 288-0200
>http://thedigitalpage.com/

HWG hwg-style mailing list archives, maintained by Webmasters @ IWA