Проблема с обтеканием текста.

Вот собственно проблема, нужно чтобы картинка была по центру а текст под ней, а вот что получается http://4text.ru/?p=17

Я так понял что проблема в ксс.

Вот мой

}
img     {
        float:none; clear:both
    
}
p {
    padding: 0 0 15px;
    margin: 0px;
}

.clear { clear:both;}

h1 {
    margin:0 auto;
    font:34px Georgia, "Times New Roman", Times, serif;
    clear:both;

вместо
img { float:none; clear:both}

вставить:

/* Begin Images */
p img {
padding: 0;
max-width: 100%;
}

/* Using ‘class="alignright"’ on an image will (who would’ve
thought?!) align the image to the right. And using ‘class="centered’,
will of course center the image. This is much better than using
align="center", being much more futureproof (and valid) */

img.centered,
img.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}

img.alignright {
padding: 4px;
margin: 0 0 2px 7px;
display: inline;
}

img.alignleft {
padding: 4px;
margin: 0 7px 2px 0;
display: inline;
}

.alignright {
float: right;
}

.alignleft {
float: left
}
/* End Images */

Всё сделал, заменил =)

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