[thelist] Re: XHTML newbie questions

Tim Luoma luomat at peak.org
Tue Jul 16 08:52:01 CDT 2002


Hershel Robinson wrote:
> I converted some HTML files to XHTML via HTML Tidy (via HTML-Kit).  I had a
> few warnings which were fixed and a few I am not interested in (I don't need
> <table> summaries for an IE6-only business site).
>
> The formatting which was done is lovely, but I lost a few things along the
> way--HTML Tidy took out my <center> tag and I lost a loss of my CSS page
> text formatting.  If I remove these lines:
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

If you remove those links the browser will enter into 'quirks' mode, but
you don't need to do that


> then the formatting comes back.  Can someone tell me what I'm doing wrong?

Add this to Data.css

table,tr,td { margin-left: auto;
	margin-right: auto;
	text-align: center ; }

See
http://www.tntluoma.com/temp/gwsystems.html






More information about the thelist mailing list