vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Code Requests & Support :: remove Pm border - View Topic (Page 1 of 2)Page: 1 2
Topic Rating: *****
Printable View
Alex Bailey
Senior Member
****

Posts: 503
Status: Offline
Gender: Male
Location: Uk
Age: 33
Joined:  
Reputation: 8%  


pmmsnaim
remove Pm border (11th Aug 08 at 8:23pm UTC)
Code for removing the PM border and moving the text by pixels please {Smile}

ting-tong2k6@hotmail.com
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 33
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: remove Pm border (11th Aug 08 at 8:26pm UTC)
What exactly do you mean by "PM Border" ? {Smile}

rroll.to— Shorten a link, rickroll your friends.
Alex Bailey
Senior Member
****

Posts: 503
Status: Offline
Gender: Male
Location: Uk
Age: 33
Joined:  
Reputation: 8%  


pmmsnaim
Re: remove Pm border (11th Aug 08 at 8:47pm UTC)
[img]http://wimg.co.uk/ZnxEoH.bmp[/img]

Top one is what its at atm
Bottom is what i want it to be like


Edit: Do image tags not work?

ting-tong2k6@hotmail.com
blanka
Full Member
***

[Avatar]

Posts: 319
Status: Offline
Gender: Male
Joined:  
Reputation: 10%  


pm
Re: remove Pm border (11th Aug 08 at 8:53pm UTC)
 
[img]http://wimg.co.uk/ZnxEoH.bmp[/img]

Top one is what its at atm
Bottom is what i want it to be like


Edit: Do image tags not work?


Image tags don't work for BMP files. Which btw should never be use for the web. It makes file size extremely large.

Do i know what i am talking about? {Tongue Out}
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 33
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: remove Pm border (11th Aug 08 at 9:03pm UTC)
I can only assume the the image tags not working is because of the file extension.

And yes Blanka, you're right; BMP's use horrible compression algorithms. System, the image you posted is over 300kb in size; saved as a JPG or PNG it would be around 15-20kb at most. {Wink}

Anyway, I'll get to this after dinner. {Smile}

*Wanders to dining room*

rroll.to— Shorten a link, rickroll your friends.
Alex Bailey
Senior Member
****

Posts: 503
Status: Offline
Gender: Male
Location: Uk
Age: 33
Joined:  
Reputation: 8%  


pmmsnaim
Re: remove Pm border (11th Aug 08 at 11:07pm UTC)
it was because i did it in paint

ting-tong2k6@hotmail.com
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 33
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: remove Pm border (11th Aug 08 at 11:44pm UTC)
 
it was because i did it in paint


Paint has a dropdown for selecting different filetypes. {Wink}

Anyway, give this a try:

Code:
 
  1. <script type="text/javascript">
  2. <!--
  3. // Remove UT border & reposition
  4.  
  5. var ut = document.getElementById("user_table");
  6.  
  7. ut.cellSpacing = 0;
  8. ut.style.position = 'relative';
  9. ut.style.top = '-5px';
  10. //-->
  11. </script>
 


{Smile}

rroll.to— Shorten a link, rickroll your friends.
Alex Bailey
Senior Member
****

Posts: 503
Status: Offline
Gender: Male
Location: Uk
Age: 33
Joined:  
Reputation: 8%  


pmmsnaim
Re: remove Pm border (11th Aug 08 at 11:50pm UTC)
It gets rid of the border, but doesn't move the text at all

ting-tong2k6@hotmail.com
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 33
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: remove Pm border (12th Aug 08 at 12:08am UTC)
 
It gets rid of the border, but doesn't move the text at all


Try changing the value in this line:

ut.style.top = '-5px';

{Smile}

rroll.to— Shorten a link, rickroll your friends.
Alex Bailey
Senior Member
****

Posts: 503
Status: Offline
Gender: Male
Location: Uk
Age: 33
Joined:  
Reputation: 8%  


pmmsnaim
Re: remove Pm border (12th Aug 08 at 12:08am UTC)
I did try that , didn't work

ting-tong2k6@hotmail.com
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 33
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: remove Pm border (12th Aug 08 at 12:36am UTC)
Could you please link me to the board where you tried the code? {Smile}

rroll.to— Shorten a link, rickroll your friends.
Alex Bailey
Senior Member
****

Posts: 503
Status: Offline
Gender: Male
Location: Uk
Age: 33
Joined:  
Reputation: 8%  


pmmsnaim
Re: remove Pm border (12th Aug 08 at 12:41am UTC)
www.pinkness.vforums.co.uk

ting-tong2k6@hotmail.com
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 33
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: remove Pm border (12th Aug 08 at 12:49am UTC)
The code seems to be working fine for me; as you can see I moved the user bar up so that it is touching the welcome table. By removing the negative sign it pushes it down toward the ad.

If it still is not working, may I ask which browser you're using? {Smile}

rroll.to— Shorten a link, rickroll your friends.
Alex Bailey
Senior Member
****

Posts: 503
Status: Offline
Gender: Male
Location: Uk
Age: 33
Joined:  
Reputation: 8%  


pmmsnaim
Re: remove Pm border (12th Aug 08 at 12:56am UTC)
IE and you get what i shown ya now?

ting-tong2k6@hotmail.com
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 33
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: remove Pm border (12th Aug 08 at 1:45am UTC)
Yeah, I understand now, sorry for the mix-up. {Tongue Out}

Right, well, after messing around with CSS properties for a good hour with IE still being stupid, I decided to just set the background colour to be the same as the rest of the user bar. So I took a screenshot, opened in in Photoshop, used the eyedropper tool to get the hex code, and entered that.

Like everything else I tried, Firefox handled it perfectly.

Also like everything else I tried, IE failed miserably at it. I mean, not supporting most coding standards is expected from Microsoft, but not even being able to properly read hex codes makes IE even worse than I thought. {Lips Sealed}

In other words, IE has made me tired of coding for the moment; I'll get back to this in a little while. {Tongue Out}

rroll.to— Shorten a link, rickroll your friends.
 Printable View
Page: 1 2

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