vForums Support > Programming & Coding :: Code Requests & Support :: > CSS code?

CSS code? - Posted By ashkir (ashkir) on 30th Jul 08 at 8:44pm
These boxes are ugly on some templates. >_>. The contact boxes around website, email, PM, etc. Any way to remove them and possibly convert to be in brackets?

From BOXED PM to [pm] from BOXED WWW to [website] etc.

Merci .

Re: CSS code? - Posted By Michael (wrighty) on 30th Jul 08 at 8:49pm
put this in your global header:

<style>
.mp_contact {
    border: 0px;
}
</style>


That should remove the border.

As for the brackets... shall we try this small code:

<script>
/*Random Code - Wrighty - OS*/

var s = get('span','tag');
for(a = 0; a < s.length; a++){
    if(s[a].className == 'mp_contact'){
        s[a].innerHTML = '[' + s[a].innerHTML + ']';
    }
}
</script>


Global Footer

Re: CSS code? - Posted By ashkir (ashkir) on 30th Jul 08 at 9:10pm
Worked perfectly. :].

Re: CSS code? - Posted By Michael (wrighty) on 30th Jul 08 at 9:11pm
It worked just like I am then! ^_^ {Tongue Out}

</modesty>

{Smile}