Previously in comp.infosystems.
www.authoring.html, Armand Karlsen
<ar************@zen.co.uk> said:
Is it possible to apply the same styling code as is used on my web page to a
CGI-based hit-counter, where the script is a pre-made one supplied by the
ISP?
Just stick a random number on the page and style it however you like.
It'll be just as effective, and no cgi required.
The code used to siaplay the hit-counter is: <img
src="http://homepages.zen.co.uk/cgi-bin/counter/USERNAME/counter.num">
The only styles you can apply to an image are things such as border,
margin and padding[1]. So if you're trying to make it look like the text
on your page, the answer is no[2].
[1] Well, you *can* apply styles such as color, background-color, etc.
But since there's no text in it, they won't actually do anything (unless
you've got images disabled/unavailable, in which case they will apply to
the alt text (if any), assuming the UA actually supports styles).
[2] Unless you use my first suggestion[3].
[3] An even better idea would be to scrap the hit counter altogether.
Its only effect is to scream "amateur!"
--
Mark Parnell
http://www.clarkecomputers.com.au