|
Post by tunescool on Sept 4, 2009 19:33:00 GMT -8
www.imagebam.com/image/17e78e47810012/can you move it any closer to thread started Final CodeLive Previewraises the hr line underneath the thread title, and also raises the title making a tighter appearance <script type="text/javascript"> <!--
for (tds=document.getElementsByTagName('td'), k=0; k<tds.length; k++) { if (tds[k].className.match(/windowbg/) && tds[k].width=="80%" && tds[k].vAlign=="top" && tds[k].align=="left") { postline=tds[k].getElementsByTagName('hr')[0]; postline.style.marginTop="-6px"; tds[k].firstChild.style.marginTop="-8px"; } } // --> </script> the -6px adjusts the hr line the -8px adjusts the thread title
|
|
|
Post by Wormopolis on Sept 5, 2009 10:22:52 GMT -8
this should work:
<script type="text/javascript"> <!--
for (tds=document.getElementsByTagName('td'), k=0; k<tds.length; k++) { if (tds[k].className.match(/windowbg/) && tds[k].width=="80%" && tds[k].vAlign=="top" && tds[k].align=="left") { postline=tds[k].getElementsByTagName('hr')[0]; postline.style.marginTop="-8px"; } } // --> </script>
|
|
|
Post by tunescool on Sept 5, 2009 12:55:44 GMT -8
id like a little space between the « Reply #1 Today at 1:22pm »
|
|
|
Post by Wormopolis on Sept 5, 2009 14:24:09 GMT -8
postline.style.marginTop="-8px";
this line is what changes how far up it goes. the more negative, the higher it goes. however, if it goes too high it will get moved out of the cell and wont be visible. 9 I think was the highest i could get out of it. if you want it further down, make the number smaller.
|
|
|
Post by tunescool on Sept 5, 2009 14:50:42 GMT -8
i figured it out, thanks for this one
|
|
|
Post by tunescool on Sept 5, 2009 22:51:45 GMT -8
can you make it so i can move the title closer to the top
|
|
|
Post by Wormopolis on Sept 5, 2009 23:47:32 GMT -8
after this line:
postline.style.marginTop="-8px";
add this:
tds.firstChild.style.marginTop="-5px";
|
|
|
Post by tunescool on Sept 6, 2009 0:13:44 GMT -8
i tried 10 down to 1 and it didnt move
|
|
|
Post by Wormopolis on Sept 6, 2009 0:52:05 GMT -8
sorry.. that should be tds[k] not tds
|
|
|
Post by tunescool on Sept 6, 2009 1:12:00 GMT -8
that did it, thanks
|
|