add options for unique IDs for fields under "list" datapages
add IDs for images, so under "list" datapage, when I want certain image to have borders, not all of them end up with it.
The code I use in the header is:
<style>
img {
border:1px solid #021a40;
}
</style>
And sadly it applies to all image on the datapage. I want it to apply to only ONE image.
If there is a way, please let me know.
Thank you! :)
-
JJ commented
There is an easy way to work around this.
Add an HTML field to your list datapage. in the html edit box, insertthe field for the image, something like [@field:myImage]. in here you can actually add a div wrapping the field with your id like this:
<div id="img">[@field:myImage]</div>
this will ensure that all your images contain the same custom id. you can house the ID style in the header of the table or in the "style" section of your app. You can also house your Id in the same custom HTML field, but that will insert the <style> tag in every single cell, which will end up looking quite sloppy.
still, having an ID "inserted" in the UI would be much, much nicer :). Specially since Caspio touts itself as the "no code" company.