You don't say which template you're using, but this is trivial to do in SugarCube, because its display macro allows you to wrap a displayed passage in an html element which automatically gets assigned a class based on the name of the passage. Example, wrapping the displayed passage in a div:
Example attached, thank for looking! I'll take a look at Sugarcube, but I'm interested to know if I can do this in Sugarcane. Does anyone know if L's macros are all compatible with Sugarcube? My game's pretty reliant on them. Thanks again.
I believe that some of the Glorious Trainwrecks macros are rendered unnecessary by SugarCube (e.g., CSS passage transitions will work in SugarCube without a macro), some have been converted (look under Extras here), some don't work at all, and others will work fine or perhaps with limited functionality.
I don't think anybody has done an exhaustive compatibility list.
I installed Twine two days ago and I immediately started making a story. In fact, I put in twine the "choose-your-own-adventure-like chapter of an old RPG rulebook. No special character, no fancy CSS. I tested it and it worked well. I improved it a little bit yesterday and the test still worked well. Still no special character and no fancy CSS. Today, I keep getting the same error message, although I didn't change a bit of the story (see attached picture).
I de-installed and re-installed Twine twice. I even made another "story" with only 3 passages and 2 links. The same error occurs.
I read this thread and didn't understand much of was told here (I've got no degree in informatics) I guess I'm going to uninstall Twine permanently : I don't have time to spend on a program that don't want to run for no reason.
[quote author=Jean-Mi Wan link=topic=764.msg2146#msg2146 date=1391291674]In fact, I put in twine the "choose-your-own-adventure-like chapter of an old RPG rulebook. Ooo! What book?
Unfortunately, your problem is entirely dissimilar to this one. You'll get more help from the other thread in which you posted.
Perfect, thanks for the speedy response! My story looks tidy again!
By the way, is there another way I should have been closing the <p> code to not leave a line? The generated webpage throws a "not closed" error if I don't include the </p>.
Comments
I don't think anybody has done an exhaustive compatibility list.
Here are some links about font-size:
https://developer.mozilla.org/en-US/docs/Web/CSS/font-size
http://kyleschaeffer.com/development/css-font-size-em-vs-px-vs-pt-vs/
http://css-tricks.com/css-font-size/
After looking at your TWS, is there a specific reason you're not doing what you're doing the "normal" way?
http://www.cssbasics.com/chapter_6_css_spans.html
http://www.1keydata.com/css-tutorial/div-span.php
Attached is your example "fixed."
Many thanks.
I installed Twine two days ago and I immediately started making a story.
In fact, I put in twine the "choose-your-own-adventure-like chapter of an old RPG rulebook.
No special character, no fancy CSS.
I tested it and it worked well.
I improved it a little bit yesterday and the test still worked well.
Still no special character and no fancy CSS.
Today, I keep getting the same error message, although I didn't change a bit of the story (see attached picture).
I de-installed and re-installed Twine twice.
I even made another "story" with only 3 passages and 2 links.
The same error occurs.
I read this thread and didn't understand much of was told here (I've got no degree in informatics)
I guess I'm going to uninstall Twine permanently : I don't have time to spend on a program that don't want to run for no reason.
Ooo! What book?
Unfortunately, your problem is entirely dissimilar to this one. You'll get more help from the other thread in which you posted.
Using this method, I'm getting extra whitespace above and below the text. Does anyone know how I can get rid of it?
By the way, is there another way I should have been closing the <p> code to not leave a line? The generated webpage throws a "not closed" error if I don't include the </p>.