/    Sign up×
Community /Pin to ProfileBookmark

novice needs help

Am trying to get a counter working on my home page. Thing is, I’m using a template design that allows you to cut n paste html in to pre-formed building blocks. When i paste this code (for the counter):

<a href=”http://www.htmlcounter.com/?ref=script” target=”_blank”><img src=”http://www.admo.net/php-bin/counter.php3?id=script&dd=36” BORDER=”0″ alt=”This counter provided for free from HTMLcounter.com!”><br>
<font face=”Verdana” size=”-3″>HTMLCounter.com</font> </a>

…in to the window it comes up with “& nbsp” showing on the finished page.

I think I have to have a head and body code and put the counter code inside the body, but I have no idea what that code should be or what I do or don’t need.

I’d appreciate any help with this.

Thanks in advance

Al

to post a comment
HTML

7 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliJul 12.2003 — from the looks of it,I can not see anything wrong with the code you posted,there might be something else thats screwing up your code,better if you post more code
Copy linkTweet thisAlerts:
@alipaliauthorJul 12.2003 — Thanks for the reply.

That's the only code I have. I've tried other codes for counters, they all work except for that damn "& nbsp" thing appears.

I think it's to do with the page builder that helps you build the site that i'm using. It just asks you to insert html or a picture or text, or whatever.

The counter code is meant to go into existing pages--I don't really have that.

That's all I can say--which might be completely wrong?

Thanks again
Copy linkTweet thisAlerts:
@DaveSWJul 12.2003 — Make your page first, then open the page in notepad and paste it in just before the </body> tag at the end.
Copy linkTweet thisAlerts:
@alipaliauthorJul 12.2003 — Dave, there's no way I can do that with the kind of bespoke web site builder program that came with the template I bought(was from Network Solutions).

Each page has building blocks and each block is like a page in itself. Effectively, I need the code for a single page with just the counter inside of it.

If i was doing that, would this be correct, or something similar?

<head>

[B]HAVE NO IDEA WHAT GOES IN HERE![/B]

</head>

<body><!counter code start!>

<a href="http://www.htmlcounter.com/?ref=script" target="_blank"><img src="http://www.admo.net/php-bin/counter.php3?id=script&dd=36" BORDER="0" alt="This counter provided for free from HTMLcounter.com!"><br>

<font face="Verdana" size="-3">HTMLCounter.com</font> </a><!counter code end!>

</body>

Can you or anyone fill in the blanks?

Thanks again, really appreciate the help.
Copy linkTweet thisAlerts:
@DaveSWJul 12.2003 — I think you need to enclose it in something else.

<html>

<head>

<title>Title to go in bar at top</title>

</head>

<body><div><p><!counter code start!>

<a href="http://www.htmlcounter.com/?ref=script" target="_blank"><img src="http://www.admo.net/php-bin/counter.php3?id=script&dd=36" BORDER="0" alt="This counter provided for free from HTMLcounter.com!"><br>

<font face="Verdana" size="-3">HTMLCounter.com</font> </a><!counter code end!></p> </div>

</body>

</html>

I also suggest you download a proper editor like html kit from www.chami.com
Copy linkTweet thisAlerts:
@DaveSWJul 12.2003 — oops - I've edited my post - closed tags in wrong order.
Copy linkTweet thisAlerts:
@RakshiJul 12.2003 — Heres a really good code from http://fastwebcounter.com/

<!-- Start FastWebCounter.com -->

<a href="http://www.fastwebcounter.com"><script src="http://fastwebcounter.com/counter.php?s=www.yoursite.com"></script></a><a href=""><img src="http://fastwebcounter.com/secure.php" height=2 width=1 border=0></a>

<!-- End FastWebCounter.com -->
×

Success!

Help @alipali spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.7,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...