vForums Support Banner


Visit Base Classics - Gaming Chairs

 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Code Requests & Support :: CSS code? - View Topic
Topic Rating: *****
Printable View
ashkir
Full Member
***

[Avatar]

Posts: 1,159
Status: Offline
Gender: Male
Location: Cali!
Age: 36
Joined:  
Reputation: 42%  


pmtwitterskypemsnyahoo
CSS code? (30th Jul 08 at 8:44pm UTC)
Resolved
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 .
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: CSS code? (30th Jul 08 at 8:49pm UTC)
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
ashkir
Full Member
***

[Avatar]

Posts: 1,159
Status: Offline
Gender: Male
Location: Cali!
Age: 36
Joined:  
Reputation: 42%  


pmtwitterskypemsnyahoo
Re: CSS code? (30th Jul 08 at 9:10pm UTC)
Worked perfectly. :].
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: CSS code? (30th Jul 08 at 9:11pm UTC)
It worked just like I am then! ^_^ {Tongue Out}

</modesty>

{Smile}
 Printable View

All times are GMT+0 :: The current time is 6:35pm
Page generated in 0.1423 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums