A Conversation for h2g2 FAQ: GuideML

General colour question.

Post 1

Necro (Patron Daemon of Patron Saints)

Hey Bruce,

It's me again. It's not that I have problems; this is purely a question regarding titivation of my site. Is there any way to change the colour of text without resorting to javascript? And if not, *bangs table with indignation in the style of the Cat in 'Gunmen of the Apocalypse* why not?!?

Necrsmiley - doctor


General colour question.

Post 2

Bruce

You can change font colour by using the HTML (will currently work on GuideML pages as well) tag.

It works like this-
This text is normal colour, this text is red, this text is normal colour.

Note the American spelling of "color" in the tag attribute smiley - smiley

You can find more info about font colours here http://www.imagitek.com/hex & here http://www.imagitek.com/bcs.html

If you use the hex values you can use any valid hex value not just the ones listed. The hex value at h2g2 will result in invisible text as it's the h2g2 background colour.

You shouldn't use the tag for entries which you are submitting for approval in the Guide, as they will be stripped out if the entry is Approved - so you'll be wasting your time.

h2g2 has also advised recently that HTML support will be limited in the future with the implementation of the GuideML DTD. As far as I'm aware changes to font, font colour or font size will not be supported and, therefore, won't work.

;^)#


General colour question.

Post 3

Researcher 99947

But at the moment we rejoice! Meerily spewing fonts and colour in every which direction!


General colour question.

Post 4

Bruce

I think that 'spewing' is a bit strong as a descriptor for your pages Sporky smiley - winkeye

;^)#
Nice cg pic btwsmiley - smiley


General colour question.

Post 5

Researcher 99947

Thanx... that was my first try!


Key: Complain about this post

Write an Entry

"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."

Write an entry
Read more