Re: XHTML strict and align=center
by "Ineke van der Maat" <inekemaa(at)xs4all.nl>
|
Date: |
Sat, 3 Aug 2002 22:49:11 +0200 |
To: |
"Hall, Richard H." <rhall(at)umr.edu>, <hwg-basics(at)hwg.org> |
References: |
umr |
|
todo: View
Thread,
Original
|
|
Hello Richard,
This validates as CSS :
h2 {
text-align: center;
}
and as XHTML strict:
<h2 style="text-align: center">This is valid XHTML strict</h2>
greetings
Ineke van der Maat
----- Original Message -----
From: "Hall, Richard H." <rhall(at)umr.edu>
To: "HWG Basics List" <hwg-basics(at)hwg.org>; "Techniques List HWG"
<hwg-techniques(at)hwg.org>
Sent: Saturday, August 03, 2002 10:02 PM
Subject: XHTML strict and align=center
> Does anyone know any way to center text that will validate using strict xhtml
and (if necessary) style sheets.
>
> I have tried
>
> <div align = "center"> and <p align = "center> and <h2 align = "center">
>
> also I could not see that there is any css attirbute that is center (e.g.,
.center { align = "center"})
>
> ... as always any help would be much appreciated ... thanks! ... Richard
>
HTML: hwg-basics mailing list archives,
maintained by Webmasters @ IWA