Even if the img tag assigns an id and a class, it is ineffective. Is it true?
Even though I assigned id and class to img html tag by hearsay and assigned it in css, it came when it was ineffective.
img id="hogehoge_id" class="fugafuga_class" src="example.gif" /
#hogehoge_id{
float:left;
}
.fugafuga_class{
padding: 10px;
}
This is the designated way like above. I got along well when I tested it in Firefox and IE6. Will there be problems with CSS?
0
a source to share