W3C home > Mailing lists > Public > www-validator@w3.org > September 2015

Re: -//W3C//DTD HTML 4.01 Strict //EN ERROR

From: Eric Richards <dubdubdub.net.nz@gmail.com>
Date: Mon, 14 Sep 2015 07:18:08 +1200
Message-ID: <CAB3-b-ETJKuRvfYyZJgA2Akx1dgrF1kWoqjPjjkGj4UUc00_Dg@mail.gmail.com>
To: www-validator <www-validator@w3.org>
OK I have just about fixed it ,by doing a picture  "center" right would be
good but a center is the best I can do.at the moment.

by using

 <style type="text/css">
 img.right {display: block; margin-left: auto; margin-right: auto}


I removed  "margin-left: auto;" and it does not work at all.

>From Eric


On Mon, Sep 14, 2015 at 6:31 AM, David Dorward <david@dorward.me.uk> wrote:

> On 13 Sep 2015, at 19:29, Eric Richards wrote:
>
> I was trying to move from Transitional to strict (or the next improved
> version, if there is one)
>
> That's HTML 5.
>
> http://w3.org/TR/html5/
>
> but now it does not like the attribute "ALIGN" as in align="right"
> example
>
> That was superseded by the CSS float property in 1996.
>
> --
> David Dorward
> http://dorward.co.uk/
>
Received on Sunday, 13 September 2015 19:18:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:13 UTC