|
Post by Jordan Reposter on Sept 5, 2011 22:08:27 GMT -5
Code by Jordan
This script centers the area of the mini-profile that is above the avatar section which is the username, rank, stars, custom title, and status message.
Global Footers.
<script type="text/javascript"><!--
if(location.href.match(/on=(displ|search2|viewpr|pmv|(user)?rece|cal\w+iew)/)){ for(var td = document.getElementsByTagName("td"), x = 6; x < td.length; x++){ if(td[x].width == "20%" && td[x].getElementsByTagName("center")[0]){
var _div = document.createElement("div"); _div.style.width = "100%"; _div.style.textAlign = "center";
var _node = td[x].firstChild.nextSibling;
while(_node.nodeName.toUpperCase() != "CENTER"){ _div.appendChild(_node.previousSibling); _node = _node.nextSibling; }
td[x].insertBefore(_div, td[x].firstChild);
} } }
//--></script>
|
|
|
Post by iPokemon on Sept 10, 2011 13:02:34 GMT -5
Accepted [style=-webkit-border-radius: 20px;-moz-border-radius: 20px;border-radius: 20px; background-color: rgba(0,0,0,0.9);padding: 6px;display:inline;color:white;font-weight:bold;]Thank you for your submission! It will be archived in our index!
[/style]
|
|