TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,021
  • Total Topics: 21,332
  • Online today: 496
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 165
  • Total: 166
  • @rjen

Under the articles, in comments, avatars stretched

Started by gz06, April 17, 2013, 02:48:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gz06


[b]Link to my forum:[/b] http://forumkavkaz.com
[b]SMF version:[/b] SMF 2.0.4
[b]TP version:[/b] TP 1.0
[b]Default Forum Language:[/b] Russian UTF-8
[b]Theme name and version:[/b] Default (curve)
[b]Browser Name and Version: [/b] IE10
[b]Mods installed:[/b] Mods listed here
[b]Related Error messages:[/b] under the articles, in comments, avatars stretched


avatar demaged as looks it here:


IchBin

I cannot reproduce the problem on my test site in IE10. Do you have a link to your site on a page where I can see the problem?

gz06

Quote from: IchBin™ on April 17, 2013, 05:30:02 PM
I cannot reproduce the problem on my test site in IE10. Do you have a link to your site on a page where I can see the problem?

yes, sure:


http://forumkavkaz.com/index.php?page=6#tp-comment

lurkalot

Checked this on my test site too, and all is fine, my avatars are 30x30 pixels  I can see the problem on your site though. yours are showing 30x95 for some reason. 

Those images should be 30x30 px square, I can also see where it gets the 30px width from, but I've no idea where it gets the height from though.

File =  http://forumkavkaz.com/Themes/default/tp-style.css?fin11 

Line 934 you'll find this block of code as below.

.comment_author img {
    border: 1px solid #AAAAAA;
    margin: 0 8px 0 0;
    padding: 1px;
    width: 30px;


I suppose you could add the height element to this like,

.comment_author img {
    border: 1px solid #AAAAAA;
    margin: 0 8px 0 0;
    padding: 1px;
    width: 30px;
    height: 30px;


But before you do anything, see what IchBin has to say. ;)

gz06

Quote from: lurkalot on April 17, 2013, 09:50:33 PM
Checked this on my test site too, and all is fine, my avatars are 30x30 pixels  I can see the problem on your site though. yours are showing 30x95 for some reason. 



I suppose you could add the height element to this like,

.comment_author img {
    border: 1px solid #AAAAAA;
    margin: 0 8px 0 0;
    padding: 1px;
    width: 30px;
    height: 30px;


But before you do anything, see what IchBin has to say. ;)

Hi.
I made changes you mentioned and problem fixed:


.comment_author img
{
width: 30px;
height: 30px;
padding: white;
padding: 1px;
border: solid 1px #aaa;
margin: 0 8px 0 0;


Now all is OK. Thanks guys.

Before I registered to your community, I made some drops of donation. Hope everybody will make so and your stuff will continue to make such pretty things.   

lurkalot

gz06, thanks.  Glad it worked for you.   O0

Still not sure why your avatars were being stretched upwards, mine are fine without adding the height element.  Hopefully IchBin can shed some light on this mystery, and provide a proper fix . ;)

This website is proudly hosted on Crocweb Cloud Website Hosting.