Alex Bailey Senior Member
   
Posts: 503 Status: Offline Gender: Male Location: Uk Age: 33 Joined:
pmmsnaim | remove Pm border (11th Aug 08 at 8:23pm UTC) | | Code for removing the PM border and moving the text by pixels please | |
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
  
pmwww | Re: remove Pm border (11th Aug 08 at 8:26pm UTC) | | What exactly do you mean by "PM Border" ? | |
rroll.to— Shorten a link, rickroll your friends. |
|
Alex Bailey Senior Member
   
Posts: 503 Status: Offline Gender: Male Location: Uk Age: 33 Joined:
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]](http://images.gametrailers.com/images/userimages/1431764-1229644884-mrblanka.png) Posts: 319 Status: Offline Gender: Male Joined:
pm | Re: remove Pm border (11th Aug 08 at 8:53pm UTC) | |
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? | |
|
Marc vChat Developer
     I <3 Rossy
Posts: 3,388 Status: Offline Gender: Male Location: Ontario, Canada Age: 33 Joined:
Additional Groups: Coding Team
  
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.
Anyway, I'll get to this after dinner.
*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:
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
  
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.
Anyway, give this a try:
 Code: - <script type="text/javascript">
- <!--
- // Remove UT border & reposition
-
- var ut = document.getElementById("user_table");
-
- ut.cellSpacing = 0;
- ut.style.position = 'relative';
- ut.style.top = '-5px';
- //-->
- </script>
| |
rroll.to— Shorten a link, rickroll your friends. |
|
Alex Bailey Senior Member
   
Posts: 503 Status: Offline Gender: Male Location: Uk Age: 33 Joined:
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
  
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';
| |
rroll.to— Shorten a link, rickroll your friends. |
|
Alex Bailey Senior Member
   
Posts: 503 Status: Offline Gender: Male Location: Uk Age: 33 Joined:
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
  
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? | |
rroll.to— Shorten a link, rickroll your friends. |
|
Alex Bailey Senior Member
   
Posts: 503 Status: Offline Gender: Male Location: Uk Age: 33 Joined:
pmmsnaim | |
Marc vChat Developer
     I <3 Rossy
Posts: 3,388 Status: Offline Gender: Male Location: Ontario, Canada Age: 33 Joined:
Additional Groups: Coding Team
  
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? | |
rroll.to— Shorten a link, rickroll your friends. |
|
Alex Bailey Senior Member
   
Posts: 503 Status: Offline Gender: Male Location: Uk Age: 33 Joined:
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
  
pmwww | Re: remove Pm border (12th Aug 08 at 1:45am UTC) | | Yeah, I understand now, sorry for the mix-up.
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.
In other words, IE has made me tired of coding for the moment; I'll get back to this in a little while. | |
rroll.to— Shorten a link, rickroll your friends. |
|