J
Jack
I've messed with this for hours refering to tutorials and specs to no avail.
I want to have images flush left (or flush right) with the text running
around and I can do this with HTML. But I want to do it CORRECTLY so I'm
trying to create 2 classes img.left and img.right
CSS
img {
/* turns off gaps around images */
border: 0;
}
img.left {
align: left;
hspace: 20;
}
HTML
<img class=left
alt="Photo of Portland Head Light" src="lighthouse.jpeg"
height="256" width="384"/>
It seems that the 'class= left' is being ignored.
Any help is appreciated, TIA
Jack
I want to have images flush left (or flush right) with the text running
around and I can do this with HTML. But I want to do it CORRECTLY so I'm
trying to create 2 classes img.left and img.right
CSS
img {
/* turns off gaps around images */
border: 0;
}
img.left {
align: left;
hspace: 20;
}
HTML
<img class=left
alt="Photo of Portland Head Light" src="lighthouse.jpeg"
height="256" width="384"/>
It seems that the 'class= left' is being ignored.
Any help is appreciated, TIA
Jack