MyBB Community Forums

Full Version: text color for help docs?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello. i really need help add color on the text in the help docs like this
[Image: 8457e6efdf7f74ef9f903e61ef4c6927.png]
i already tried doing the mycode text color for threads but it didnt work can someone please help me with the problem. thanksBig Grin
<span style="color: #ff0000">Example</span>
Edit : not seen above response Smile
_____________________________

<span style="color: #abcdef">content</span> should work where #abcdef is html color hex code
<div style="color: #FFFFFF;">Example</div>
I use the "div" way, what's the difference.




edit:
(2011-10-01, 04:32 PM)faviouz Wrote: [ -> ]A div defines a section or a division of your website. That's not something you should use for a word. The span tag is used to define a small part of a text, e.g. a single word. It only makes sense to use the latter...

Thanks for clearing that up.


(2011-10-01, 04:34 PM)ranjani Wrote: [ -> ]^ this external link might help in knowing the difference
Thank you too.


(2011-10-01, 04:35 PM)Malcolm. Wrote: [ -> ]
(2011-10-01, 04:27 PM)HybridForum Wrote: [ -> ]
<div style="color: #FFFFFF;">Example</div>
I use the "div" way, what's the difference.

Span is the preferred way of changing the style of elements.

There's quite a good article about it here:

http://webdesign.about.com/od/htmltags/a/aa011000a.htm

/ninga'd
You is a ninja indeed. I think after all those explanations, I'll remember the difference next time.
A div defines a section or a division of your website. That's not something you should use for a word. The span tag is used to define a small part of a text, e.g. a single word. It only makes sense to use the latter...
(2011-10-01, 04:27 PM)HybridForum Wrote: [ -> ]
<div style="color: #FFFFFF;">Example</div>
I use the "div" way, what's the difference.

Span is the preferred way of changing the style of elements.

There's quite a good article about it here:

http://webdesign.about.com/od/htmltags/a/aa011000a.htm

/ninga'd