Judging by my reading on this forum, I’m not the only one flummoxed by Xojo’s implementation and/or explanation of css styling for the web apps.
I know CSS, but obviously the methodology is different here. I have a stylesheet attached to my app object. I’ve also created individual style entries in that HTML header box. Still, I can only define some styling in the “Opening” event of controls. I have no idea how to implement styles.
There is a thing called a “theme” that we can supposedly implement and call by name, but I see no concrete (understandable by me) example of how to do this (I know what a “theme” is in terms of bootstrap or another CSS framework, but I don’t know how to apply it here). I don’t know if I can write a definition for an input tag in CSS and have it apply to a text box in Xojo. I’ve tried to apply a class to it, but I see no result.
So, how do I name and create a “webstyle”.
What is a “Xojo-Webstyle-control” and where do I find one?
I’ve read several tutorials on the forum all the way back to 2015 on how to use CSS in Xojo, but some of these features seem to have been deprecated. In my opinion, it’s probably time for someone to write an updated and hopefully really detailed tutorial on exactly how to style a webpage in CSS. From my dim understanding to date, this Web 2.0 thing seems to have broken at least as many things as it has fixed. Not that it’s a bad idea to update your programming paradigm. It’s just that the changes are hard to follow if someone at the company is not disseminating the requisite information to the community as quickly as the changes are being made.
Assuming I’m missing something, if someone could point me to a current article or two, I’d appreciate it.