Question Regarding Formatting Issues
I prefer using the RTE to format my stories, because it allows me to organize my thoughts better (and more easily implement text effects). However, I'm aware its a known bug that the RTE will interfere with some elements of coding, image positioning, etc.
My concern is that in chapter three of my story, I have a lot of on page variable tricks and images.
a) Any images which are on their own line are centred (established using the HTML in the source code).
b) Any images which are in-line with the text have white borders around them, causing them to not press right up against the text. Since CYS only allows you to implement black borders, I coded this into the HTML in the source code.
c) Text which is designed to appear only when certain variable conditions are met (using on-page variable tricks) has a code in the HTML source telling it to insert line breaks. I can't simply enter this onto its own line in the RTE, because it will cause a paragraph break when the variable condition is not met.
All of these changes work just fine when I code them using HTML in the source. The problem is, if I make any later revisions to the page and save it, all of these changes are automatically deleted. This is a nightmare when it comes to revising my story, because if I want to fix one typo on a page, I need to take 10 minutes to re-edit the HTML source code before saving.
I was wondering if anyone has any possible solutions to this. I would prefer one that does not involve disabling the RTE. (I'm not sure this would even fix the problem, since I've tried disabling the RTE before, and a lot of my HTML in the source was still deleted.)
Question Regarding Alt Text
Since my game makes heavy use of graphics, I wanted to provide alt text for images that are essential to the plot of the story (e.g. solving puzzles, or explaining important concepts.) This would ensure my game is still playable, if someone was unable to view the images or if the links ever changed. I started to implement this for one of the two interactive books in my game. By 'interactive book', I mean you are directed to a table of contents where you can view one of four pages. The pages themselves are pictures that I created digitally.
So I was implementing this into the source code. Then I discovered that the alt text seems to be unable to accept HTML, which means I couldn't insert line breaks. After doing a quick google search, I discovered that this is a characteristic of alt text in general, not just the website. Considering that some of the 'pages' in this book are poems / riddles that make purposeful use of line breaks, or encycopedia entries with multiple paragraphs, I am concerned by this issue. I was wondering if there is any way to fix this - perhaps by manipulating the page scripts in some way? I am not extremely familiar with CSS.
Thank-you very much to anyone that is able to help!
@BradinDvorak @Ogre11 @Killa_Robot
Thanks, Killa. I've done this for the pages with the most coding (like with my interactive keyboards), but its a pain when I want to go back and edit considering I have these sort of variables on dozens of pages.
This problem did not occur for you when you disabled the RTE? I think I disabled it before and was still experiencing the same problem. I'm also concerned that doing so could interfere with the current coding.
Original HTML text:
Result (saved for first time):
Automatic Changes to HTML Source Text when Page is Re-Saved:
I'm not too familiar with CSS. I'd be happy to learn what's needed, but all I know of HTML and CSS was stuff I learned while creating this game. I know the basic stuff like changing fonts, and adding pictures/italics, but most of the other effects has been stuff I've gotten help for in the advanced editor forum.
Do you know how to do this, or have any links that would offer a basic explanation? Could be useful, and I will attempt it.