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 06:57:00 +1200
Message-ID: <CAB3-b-FvcVpPCGvhcySpXDxJto-D5+7q3SWgPRjwZFtownYobg@mail.gmail.com>
To: www-validator <www-validator@w3.org>
Eric Richards wrote:

> I was trying to move from Transitional to strict (or the next improved
> version, if there is one)
>
> but now it does not like the attribute "ALIGN" as in  align="right"
> example
> <img src="red-footpath-cancer.jpg" height="320"  width="240"
align="right">

You will need to embrace the not-very-new technology called CSS
("Cascading Style Sheets"); it is they, rather than the HTML, that
indicate how a document should be laid out.



ummm...
img  {align:right} in the <style TYPE="text/css"> section does not work



On Mon, Sep 14, 2015 at 6:40 AM, Philip Taylor <P.Taylor@rhul.ac.uk> wrote:

>
>
>
> Eric Richards wrote:
>
> > I was trying to move from Transitional to strict (or the next improved
> > version, if there is one)
> >
> > but now it does not like the attribute "ALIGN" as in  align="right"
> > example
> > <img src="red-footpath-cancer.jpg" height="320"  width="240"
> align="right">
>
> You will need to embrace the not-very-new technology called CSS
> ("Cascading Style Sheets"); it is they, rather than the HTML, that
> indicate how a document should be laid out.
>
> Philip Taylor
>
Received on Sunday, 13 September 2015 18:57:27 UTC

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