WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1 Need help aligning this. on Mon Nov 22, 2010 9:59 am

Fred100


Registered Member
Registered Member
Okay so basically , there's a counter (a counter which counts which person is visiting from where & to calculate total visitors visited, made for sites) which I wanted to align to my forum's footer.

I use forumotion ,btw.

Code:
<div style="margin:auto;text-align:center;width:100%"><script type="text/javascript" src="http://www.99counters.com/javascript.php?vars=YToyOntzOjI6ImlkIjtzOjY6IjEyNzczNSI7czoyOiJsbiI7czoyOiJlbiI7fQ%3D%3D&width=120&height=160"></script><noscript><a href="http://www.99counters.com/">Counter</a></noscript></div>

The Counter's code.

http://img195.imageshack.us/img195/5312/24141g.png
The position where I wanted to align it to.

So , can anyone help?
If you need more info, I'm here for it.

http://www.art-castle.biz/forum.htm

2 Re: Need help aligning this. on Mon Nov 22, 2010 6:04 pm

ankillien


Administrator
Administrator
Hi,

Go to the index_body template and find <!-- END switch_legend -->

Add your counter code right after that, save, publish, enjoy Cool

3 Re: Need help aligning this. on Mon Nov 22, 2010 8:40 pm

Fred100


Registered Member
Registered Member
Umm thanks , but I just noticed that it didn't look good in that place.
Can it be aligned over the right side ?
http://img230.imageshack.us/img230/5312/24141g.png

http://www.art-castle.biz/forum.htm

4 Re: Need help aligning this. on Mon Nov 22, 2010 9:22 pm

ankillien


Administrator
Administrator
Replace your code with this one...

Code:
<div style="margin:auto;float:right;"><script type="text/javascript" src="http://www.99counters.com/javascript.php?vars=YToyOntzOjI6ImlkIjtzOjY6IjEyNzczNSI7czoyOiJsbiI7czoyOiJlbiI7fQ%3D%3D&width=120&height=160"></script><noscript><a href="http://www.99counters.com/">Counter</a></noscript></div>

5 Re: Need help aligning this. on Tue Nov 23, 2010 6:29 am

Fred100


Registered Member
Registered Member
Okay , just a question. Is there any way I could make it show in all the pages instead of just the homepage?

http://www.art-castle.biz/forum.htm

6 Re: Need help aligning this. on Tue Nov 23, 2010 8:38 am

ankillien


Administrator
Administrator
For that you can either put it in footer or header or a widget.

7 Re: Need help aligning this. on Wed Nov 24, 2010 9:05 am

Fred100


Registered Member
Registered Member
Thanks , I aligned it at the header.
Thanks for helping Smile

http://www.art-castle.biz/forum.htm

8 Re: Need help aligning this. on Fri Nov 26, 2010 6:18 am

Jophy


Registered Member
Registered Member
Solved => Locked

http://www.socialtechforum.com/

View previous topic View next topic Back to top  Message [Page 1 of 1]

Similar topics

-

» Aligning text with CSS

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