FreeHostia Forums
http://forum.freehostia.com/

Assign class to all instances of a tag
http://forum.freehostia.com/viewtopic.php?f=8&t=66344
Page 1 of 1

Author:  Akin650 [ Wed Oct 05, 2022 9:06 am ]
Post subject:  Assign class to all instances of a tag

Is there a CSS rule to convert all

<img src="...">
<img src="...">
to below?

<img class="x-class" src="...">
<img class="x-class" src="...">
I have no access to x-class, I only have partial control over the built HTML. I see an <img> have it and want all other <img> to have it, but can't find definition of x-class in any of CSS sheets Firefox's dev tools let me see (Style Editor). Ideally, it's every <img> inside of <body>, but one thing at a time.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/