Hi!
I'm making a game with Snowman, and I have this CSS code in my game:
a {
text-decoration: none!important;
}
However, the game simply ignores it, it seems. The underline for links is still there, and I've tried pretty much everything, including:
.passage a
a:link
tw-link
...but none seem to work. The weird thing is, if I make this change:
a {
background-color: yellow;
text-decoration: none!important;
}
...then the yellow background for links is visible, without any problems. So what could be the issue here? Is the text-decoration hard-coded into Snowman? I've tried using no text-decoration for Sugarcube and Harlowe and it works perfectly.
Thank you for any assistance.
Comments
1. The element's text-decoration property is already set to none
2. The underline is caused by the element having a border-bottom property.
So you need CSS like the following to remove the Markup Link's underline
Looking at the default CSS is generally the quickest way to determine what custom CSS you will need to change it.
I did actually use my web-browser (Chrome) to see if I could find the (a) tag, and I did find it, but I only saw: So maybe I looked in the wrong place. I'll keep my eyes open from now on, thanks once again!
I did actually use my web-browser (Chrome) to see if I could find the (a) tag, and I did find it, but I only saw: So maybe I looked in the wrong place. I'll keep my eyes open from now on, thanks once again!