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

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