Skype Icons

Soldato
Joined
13 May 2003
Posts
11,865
Location
Hamilton
I suspect it's not just me... but do you fairly often get broken tables on these forums because of Skype status icon images not loading?

I'm just about to go adblock them, but I wondered if it was just me, or if everybody gets it sometimes?
 
Right.

It happens because the alt text for the Skype Icon image is way too long to wrap neatly in the space provided. When mystatus.skype.com is down/slow/dodgy the image does not load and as per HTML spec the alt text is diaplyed instead.

It's too long and it pushes the non fixed max-width table on the left out = messy as hell (and pretty sloppy coding also)

Example:
ocuk_skypeicon_issue.jpg


We can however fix it in browsers that support custom CSS.

This is what the fixed result looks like:

ocuk_skypeicon_fixresult.jpg


For Opera

Download the following custom .css

ocuk_skypeiconfix_opera.css

Right click anywhere on an OcUK forum page. Click 'Edit Site Preferences'. Click 'Display' Tab Click 'Choose' in the bottom and browse to the opera custom css file. Select and click Open.

ocuk_skypeicon_fix-opera.jpg


Okay out of the Site Preferences options.

Reload the page and it will force the maximum width of an image in that location to 175px - the same width as the area in which it lives. No alignment issues occur.


For Firefox

Firefox 12 actually wraps the alt text properly into the div it lives in. but for any other versions that it might affect here is the process anyway:

Download the following custom .css

ocuk_skypeicon_fix.zip

Close Firefox if already open.

Extract userContent.css to <firefox profile path>\<userprofilepath>\chrome\

If the chrome folder does not exist, create it.

ocuk_skypeicon_fix-firefox.jpg


Open Firefox. max-width will be enforced for this element on overclockers forums.

If you already use an OcUK Dark theme or other userContent.css elements then add the following to your existing file:

Code:
@-moz-document domain(forums.overclockers.co.uk){

td.alt2 img {
max-width: 175px;
}

}

Internet Explorer

Sucks. You cannot do site specific client side css and the old ways of hacking it were removed.

Eitherway you can apply the below at your own risk. If any other site uses the same css code in the source it will apply there also.....

Use at your own peril, and blame IE for being lame.

Download the following custom .css

ocuk_skypeiconfix_ie.css

Tools > Internet Options > Accessibility

Tick "Format documents using my style sheet"

Click 'Browse' > select custom css file for ie > click Open > Click Ok > Click Ok

Exit IE and reload

Fix is now applied.

ocuk_skypeicon_fix-ie.jpg


Chrome

No idea how to go about defining site specific custom client side CSS in Chrome. For anyone who knows this is the css code that fixes the issue:

Code:
td.alt2 img {
max-width: 175px;
}
 
Last edited:
Right.

It happens because the alt text for the Skype Icon image is way too long to wrap neatly in the space provided. When mystatus.skype.com is down/slow/dodgy the image does not load and as per HTML spec the alt text is diaplyed instead.

It's too long and it pushes the non fixed max-width table on the left out = messy as hell (and pretty sloppy coding also)


Code:
td.alt2 img {
max-width: 175px;
}


Just a bit of extra info for people who also struggle with this problem. What I find is that when I view the forums behind our work proxy it causes formatting problems and the user avatar/info area is indented further to the right under users that have skype information on their profile. This is because as stated above, that if skype.com cannot be contacted, the browser will default to showing the alt text "send a message to..." bla bla bla which is a wide line of text and it pulls the margin over to the right which is messy and annoying.
In IE I have this problem and it has a red cross by the image. In firefox, as said above again, it actually deals with it nicely and the margin is not affected.
In Chrome, it is also a problem.
Above code to try in chrome however does work. I have found from a quick google the file to update. Very simply you add the above code to your custom.css file in chrome (which will likely be blank anyway) and it instantly fixes the issue without even refreshing the tab you are in with a problematic page.

The file is at:

C:\Users\<enter_your_user_name>\AppData\Local\Google\Chrome\User Data\Default\User StyleSheets

It's not perfect as it still leaves a white border around where the skype info is, but atleast it doesn't muck up the margin indent.

This thread is a good example of the problem if you look at post #5 by user "metbandit1" as he uses skype profile info which causes the issue.
 
Back
Top Bottom