hhaarr
New Coder
Hello everyone
why does it work here
[CODE lang="html" title="html"]<div>
<img src="pix.jpeg" alt="Eastern Port" class="A5">
</div>[/CODE]
but not here
this is as far as it goes for the class in CSS
Thanks for any help
why does it work here
[CODE lang="html" title="html"]<div>
<img src="pix.jpeg" alt="Eastern Port" class="A5">
</div>[/CODE]
but not here
HTML:
<div class="A5" >
<img src="pix.jpeg" alt="Eastern Port">
</div>
this is as far as it goes for the class in CSS
CSS:
.A5 {
width: 50%;
}
Thanks for any help
Last edited: