Community Central
Community Central
This Forum has been archived
Forums: Admin Central Index Technical Help Underline, strike classes
Wikia's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.


Because Wikia upgrade is drawing near and the <s></s> and <u></u> tags are no longer used in HTML5, I need to create CSS replacement for those. Can you help me? I need information what is needed to be added in the style sheet and later - how to use these classes in the article. Also, what about <big></big> tags? Will these be also deprecated? Thank you in advance, Final Cannon 19:50, July 15, 2012 (UTC)


HTML-5 deprecated stuff

text-decoration

font-size

<div style="text-decoration: underline;">Underline</div>
<div style="text-decoration: line-through;">Strike</div>
<div style="font-size: 140%;">Bigger text (140%, adjust as needed)</div>
Underline
Strike
Bigger text (140%, adjust as needed)

Yes, big is deprecated (small is not). 20px_Rin_Tohsaka_Avatar.png Mathmagician ƒ(♫) 20:15 UTC, Sun, 15 July 2012

Thanks. I have another questions - I have read the deprecated list, and I saw table attributes I commonly used like height and so on - e.g., this template. Is this change will ruin the mentioned template? Final Cannon 23:08, July 15, 2012 (UTC)
One minor problem - using this styles automatically breaks lines - like th
is
. What do about this? Final Cannon 07:58, July 20, 2012 (UTC)
Use <span> instead of <div>. Eg
<span style="text-decoration: underline;">Underline</span>
which produces Underline. User:Matthew2602/sig 08:05, July 20, 2012 (UTC)
Thanks. Final Cannon 08:07, July 20, 2012 (UTC)

JFTR, <s> is still usable, it is <strike> that's obsolete. http://www.w3.org/TR/html5-diff/#obsolete-elements --PedroM (talk) 12:22, July 25, 2012 (UTC)

What is the font size provided by big tag?--http://i151.photobucket.com/albums/s145/urbancowgurl777/UltimateSupreme2212-3.png(Talk to me) 13:42, July 25, 2012 (UTC)
<big> does font-size:larger.  Cafeinlove msg 2012/7/26, 12:57 (KST)
Ok. So I should use ^this instead of big? --http://i151.photobucket.com/albums/s145/urbancowgurl777/UltimateSupreme2212-3.png(Talk to me) 06:33, July 26, 2012 (UTC)