1 itzsnider Mar 14, 2005 18:26
3 itzsnider Mar 14, 2005 19:24
Did what you said and still a little off. It created the little arrows above it but put it on the next line.
Any other ideas?
4 yabba Mar 14, 2005 19:39
changing <form style="margin:0" to <form style="display:inline;margin0" will put it in the right place, but the arrow will be at the bottom,
?
5 itzsnider Mar 14, 2005 19:41
U ROCK THANKS A BUNCH !!!!
6 itzsnider Mar 14, 2005 19:46
Now to do the same with my counter. Tried same lanuage and that didn't work.
This is my button info
<script language="javascript">
var data, p;
var agt=navigator.userAgent.toLowerCase();
p='http';
if((location.href.substr(0,6)=='https:')||(location.href.substr(0,6)=='HTTPS:')) {p='https';} data = '&r=' + escape(document.referrer) + '&n=' + escape(navigator.userAgent) + '&p=' + escape(navigator.userAgent)
if(navigator.userAgent.substring(0,1)>'3') {data = data + '&sd=' + screen.colorDepth + '&sw=' + escape(screen.width+ 'x'+screen.height)};
document.write('<a href="http://www.blogpatrol.com" target="_blank" >');
document.write('<img border=0 hspace=0 '+'vspace=0 src="http://www.blogpatrol.com/counter.php?i=17944' + data + '"> </a>');
</script>
7 stk Mar 15, 2005 00:25
Wrap a unique <div> around your counter and control it's position via CSS.
Or ... move the counter into a list item <ul><li> into yet another <div class="bSideItem">
Right now ... from a CSS point-of-view, the counter is sitting at the bottom of the bSideBar DIV and is isolated. (There isn't any simple CSS selector that will uniquely identify your counter).
So you need to make one. There are many options, but the first two I listed are probably the simplest.
<div id="counter"><script ...> ... </script></div> -or-
<div class="bSideItem"><ul><li><script ... > ... </script></li></ul></div>
The second option may get you what you want without having to change ANY CSS.
give it a try.
If you can't position it w/CSS ... write back. Once you have the HTML (I don't care which) ... I can prolly position it for you.
Cheers,
Scott
8 itzsnider Mar 15, 2005 02:56
Thanks much for your help. It works but is a small fraction off.
9 stk Mar 15, 2005 03:05
You have introduced a problem and your page is broken in MSIE...
You need to close the <div> and <ul> immediately before your SCRIPT
Right now you have:
<li><a href="http://www.blogexplosion.com/index.php?ref=itzsnider"><img src="http://banners.blogexplosion.com/button2.gif"/></a></p></li>
<div class="bSideItem"><ul><li><script language="javascript">
make it
<li><a href="http://www.blogexplosion.com/index.php?ref=itzsnider"><img src="http://banners.blogexplosion.com/button2.gif"/></a></p></li>
</ul>
</div>
<div class="bSideItem"><ul><li><script language="javascript">
and you'll be in a better spot. (It'll close the "Link to us" list AND div, immediately above the Javascript). I'm assuming the lone </div> after the script is closing the larger "bSideBar" div.
:D
10 itzsnider Mar 15, 2005 03:52
Thanks a ton that did it.
Learning slowly but surely
11 stk Mar 15, 2005 04:08
There you go. :D
That looks better. Glad it worked.
change this :-
to this :-