Andreypsk

Глюк с картинками: они сжимаааются(

Доброго времени суток!

Помогите, пожалуйста, решить глюк с картинками в ВП.

Дело в том, что, когда я вставляю карнитнку в пост, а потом равняю ее по правому или левому краю —- она сжимается и деформируется.. Если же не равнять, а оставить в центре, картинка сохраняет нормальную форму… Я уже устал пробовать исправить сей досадный глюк. Выручайте…

Версия WP — 3.04…

Вот, на всякий случай, данные из файлика стиля шаблона:

/*
Theme Name: Beauty Bling
Theme URI: 
Description: Beauty Bling is a pinkish 3-column theme, with stylish hearts & stars icons. Change the header pic easily to adapt it to your style. <br /><br /> <strong>To use the small "About" & "Contact" buttons at the top, create a page in WordPress titled simply "About" and one titled just "Contact". Those icons will now link to those pages.</strong>
Version: 1.0
Author: Ultimate Cosmetics
Author URI: http://www.ultimate-cosmetics.com/
*/

body {
    font-family: arial, helvetica, sans-serif;
    font-size: 11px;
    color: #000;
    text-align: center;
    padding: 0 16px;
    margin: 0;
    background-color: #D44747;
}

#container {
    width: 920px;
    margin: 0 auto;
    background-color: #fff;
    padding: 0;
    text-align: left;
    background-image: url(images/back.gif) !important;
    background-image: url(images/backie.gif);
    border-left: 16px solid #DCCABD;
}

#header {
    padding-top:15px;
    height:85px;
    background:url(images/kiss.jpg) left top no-repeat;
    margin-bottom:15px;
    }

#header h1 {
    margin: 0;
    padding: 0 0 0 60px;
}

#content #header h1 a {
    color: #000;
    font-family: arial,hevetica,sans-serif;
    font-size: 30px;
    letter-spacing: -1px;
    text-decoration: none;
}

#header-image {
    background-image:url(images/header/rotator.php);
    background-repeat: no-repeat;
    width:400px;
    height:300px;
    float:left;
    padding-bottom:10px;
    }

#topmenu {
    display:inline;
    float:right;
    width:110px;
    height:30px;
    margin-top:10px;
    }

#topmenu a {
    display:inline;
    border:none;
    margin:0 0 0 0;
    padding:0 0 0 0;
    }    

#menu {
    width: 200px;
    margin: 0 0 0 0;
    padding: 16px 0 0 0;
    float: left;    
}

#extras {
    width: 200px;
    margin: 0 0 0 0;
    padding: 16px 0 0 0;
    float: right;
}

#menu ul, #extras ul {
    list-style-type: none;
    margin: 0 0 0 0;
    padding: 0;
}

#menu ul ul, #extras ul ul {
    margin-left: 10px;
    margin-bottom: 8px;
}

#menu ul li, #extras ul li {
    color:#333;
    font-size:14px;
    font-family:Arial, Helvetica, sans-serif;
    padding:2px 0 2px 0;

}

#menu ul li a, #extras ul li a {
    color:#333;
    text-decoration:none;
}

.searchblock {
    width:100%;
    height:35px;
    background:url(images/search.jpg) left top no-repeat;
}

.sideblock {
    padding: 0 16px 16px 26px;
}

.sideblock a:hover {
    color:#FFF;
}

.sideblockcal {
    padding: 0 16px 16px 16px;
}

.sideblockcal a {
    text-decoration:none;
}

#content {
    margin: 0px 416px 16px 16px;
    padding: 8px 0;
}

.post {
    margin: 0 0 32px 0;
    padding: 0;
    font-size: 11.5px;
}

.post a:hover {
    color:#D44747;
}

.meta, .meta a {
    font-size: 12px;
    color: #D44747;
    text-decoration:none;
}

.meta a:hover {
    font-size: 12px;
    color: #000;
}

.storycontent {
    line-height: 150%;
    font-size: 13px;
    text-align: justify;
    color: #000;
}

.imagelink img {
    margin-right: 8px;
    margin-left: 8px;
    margin-bottom: 5px;
}

#footer{
    clear:both;
    padding: 0px 0 25px 16px;
    padding-top: 30px !important;
    padding-top: 10px;    
    color: #333;
    font-size:12px;
}
#footer a { color: #333; }
#footer a:hover { color: #D44747; }

/* general text styles */
h1 {
    font-size: 12px;
}

h2 {
    font-size: 11px;
    font-weight: bold;
    margin: 0;
    padding: 0;
}

#content h2 {
    color: #D44747;
}

h3 {
    font-size: 16px;
    font-weight: normal;
    margin: 0 0 4px 0;
    padding: 0 0 0 0;
    color: #fff;
}


h3.storytitle a {
    font-size: 20px;
    letter-spacing: -0.025em;
    text-decoration: none;
    color: #000;
}

h3.storytitle a:hover {
    color: #D44747;
}

a { color: #000;} 
a img { border: none; }

/* comment styles */

#commentlist {
    list-style-type: none;
    padding: 0;
    margin: 0 0 32px 0;
}

#commentlist li {
    background-color: #f8f8f8;
    padding: 8px;
    margin: 8px 0;
}

#commentlist li p {
    margin: 0 0 16px 0;
}

/* comment form styles */

form#commentform {
    margin: 16px 0;
    padding: 0;
}

form#commentform p {
    margin: 0 0 4px 0;
    padding: 0;
}

input, textarea {
    font-family: arial, helvetica, sans-serif;
    font-size: 11px;
}

input#author, input#email, input#url {
    border: 1px solid #888;
}

textarea#comment {
    border: 1px solid #888;
    width: 480px;
}

input#submit {
    border: 1px solid #888;
    background-color: #fff;
}

/* search form styles */

form#searchform {
    margin: 0;
    padding: 0;
}

#searchform input {
    border: none;
    background-color: #fff;
    margin-bottom: 4px;
    color:#333;
    font-weight:bold;
}

#searchform input#s {
    padding-left:25px;
    margin-top:6px;
    padding-top:3px;
    width: 110px;
    height:20px;
}

.backdots {
    color:#FFF;
    }

#header h2 {
    font-weight: bold;
    font-size: 18px;
    margin: 0;
    padding: 0 0 0 60px;
    color:#93001A;
}

.feedback {
    background:#F5D3D3;
    height:26px;
    padding:8px 8px 0 8px;
    }

.feedback a {
    display:inline;
    color:#000;
    font-weight:bold;
    font-size:12px;
    text-decoration:none;
    border:none;
    }

.feedback a:hover {
    color:#FFF;
    }        

h2 { font-size:14px; }

.navigation a {
    color:#D44747;
    text-decoration:none;
    font-size:14px;
    font-weight:bold;
    }

.alignleft {
    float:left;
    display:inline;
    background:url(images/prev.png) left no-repeat;
    padding-left:40px;
    height:25px;
    padding-top:7px;
    }

.alignright {
    float:right;
    display:inline;
    background:url(images/next.png) right no-repeat;
    padding-right:40px;
    height:25px;
    padding-top:7px;
    }

#extras a:hover, #menu a:hover { color:#FFF; }

Спасибо!

Anonymous
Отправить
Ответ на: