The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

HTML Colored text will not show.

5 posters

Go down

Solved HTML Colored text will not show.

Post by Ramdaman October 19th 2014, 10:32 pm

I created a widget just for information. It was an official support forum widget with links to official support forums, and it was working. However, now the colored text will not show. This is the widget source.

Code:
<strong>FORUMËT ZYTARE I MBËSHTETJËS</strong><br /><br />

<img src="http://2img.net/i/fa/optimisation_fdf/common/uk_us.gif" /> <a href="http://help.forumotion.com/forum"><span style="font-size: 10px;"><strong>Anglisht</strong></span></a><span style="font-size: 10px;"> <img src="http://i39.servimg.com/u/f39/18/21/41/30/arr10.png" /> <span style="color: rgb(50, 164, 213);"><em>Foru</em></span><em><span style="color: rgb(123, 185, 43);">Motion</span></em></span><br />

<img src="http://2img.net/i/fa/optimisation_fdf/common/flag_ar.png" /> <a href="http://help.ahlamontada.com/"><span style="font-size: 10px;"><strong>Arabisht</strong></span></a><span style="font-size: 10px;"> <img src="http://i39.servimg.com/u/f39/18/21/41/30/arr10.png" /> <span style="color: rgb(50, 164, 213);"><em>Ahla</em></span><em><span style="color: rgb(123, 185, 43);">Montada</span></em></span><br />

<img src="http://2img.net/i/fa/optimisation_fdf/common/flag_fr.png" /> <a href="http://forum.forumactif.com/"><span style="font-size: 10px;"><strong>Frëngjisht</strong></span></a><span style="font-size: 10px;"> <img src="http://i39.servimg.com/u/f39/18/21/41/30/arr10.png" /> <span style="color: rgb(50, 164, 213);"><em>Forum</em></span><em><span style="color: rgb(123, 185, 43);">Actif</span></em></span><br />

<img src="http://i34.servimg.com/u/f34/12/94/96/28/flag_n13.png" /> <a href="http://ondersteun.actieforum.com/"><span style="font-size: 10px;"><strong>Holandisht</strong></span></a><span style="font-size: 10px;"> <img src="http://i39.servimg.com/u/f39/18/21/41/30/arr10.png" /> <span style="color: rgb(50, 164, 213);"><em>Actie</em></span><em><span style="color: rgb(123, 185, 43);">Forum</span></em></span><br />

<img src="http://2img.net/i/fa/optimisation_fdf/common/flag_ru.png" /> <a href="http://help.forum2x2.ru/"><span style="font-size: 10px;"><strong>Rusisht</strong></span></a><span style="font-size: 10px;"> <img src="http://i39.servimg.com/u/f39/18/21/41/30/arr10.png" /> <span style="color: rgb(50, 164, 213);"><em>Forum</em></span><em><span style="color: rgb(123, 185, 43);">2x2</span></em></span><br />

<img src="http://2img.net/i/fa/optimisation_fdf/common/flag_es.png" /> <a href="http://asistencia.foroactivo.com/"><span style="font-size: 10px;"><strong>Spanjisht</strong></span></a><span style="font-size: 10px;"> <img src="http://i39.servimg.com/u/f39/18/21/41/30/arr10.png" /> <span style="color: rgb(50, 164, 213);"><em>Foro</em></span><em><span style="color: rgb(123, 185, 43);">Activo</span></em></span><br />

Translated Piece:


Last edited by Ramdaman on October 20th 2014, 7:03 pm; edited 2 times in total
Ramdaman
Ramdaman
Active Poster

Male Posts : 1615
Reputation : 99
Language : English, Albanian, Macedonian, Russian | HTML, CSS
Location : New York City

http://ndihme.forumotion.com/forum

Back to top Go down

Solved Re: HTML Colored text will not show.

Post by _Twisted_Mods_ October 19th 2014, 10:43 pm

try adding important

Code:
<span style="color: rgb(123, 185, 43) !important;">
_Twisted_Mods_
_Twisted_Mods_
Helper
Helper

Male Posts : 2108
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: HTML Colored text will not show.

Post by Mati October 19th 2014, 10:51 pm

Make them all like this and they should work.
Code:

<img src="http://2img.net/i/fa/optimisation_fdf/common/uk_us.gif" alt="" border="0" /> <a href="http://help.forumotion.com/" target="_blank" rel="nofollow"><strong>English</strong></a> <img src="http://i39.servimg.com/u/f39/18/21/41/30/arr10.png" alt="" border="0" /> <span style="color: rgb(0, 165, 205);">Foru</span><span style="color: rgb(124, 186, 44);">motion</span>
Mati
Mati
Hyperactive

Posts : 2020
Reputation : 330
Language : HTML, CSS & JavaScript
Location : Forum Services

https://forumservice.forumotion.com/

Back to top Go down

Solved Re: HTML Colored text will not show.

Post by Ange Tuteur October 20th 2014, 1:19 am

I noticed something a bit off with Fx and it's inline properties since 33.0. Try adding a class name instead, it'll be easier to manage. ^^

Code:
<span class="_p1">Foru</span><span class="_p2">motion</span>

Then place this before ALL of your HTML in the widget :
Code:
<style type="text/css">
 ._p1, ._p2 {
   font-weight:normal;
   font-style:italic;
 }
 ._p1 { color:#00A5CD }
 ._p2 { color:#7CBA2C }
</style>
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: HTML Colored text will not show.

Post by Ramdaman October 20th 2014, 1:32 am

Oh that's smart, and it makes the code easier to do.

Edit: Solved
Ramdaman
Ramdaman
Active Poster

Male Posts : 1615
Reputation : 99
Language : English, Albanian, Macedonian, Russian | HTML, CSS
Location : New York City

http://ndihme.forumotion.com/forum

Back to top Go down

Solved Re: HTML Colored text will not show.

Post by SLGray October 20th 2014, 8:27 pm

Topic solved and archived


HTML Colored text will not show. Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51501
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum