KillerSoft
Registered
Искам да позиционирам текста 5px навътре както позиционирах снимката с padding , но се чудя дали да го направя текстът да е в друг div или ако има начин да позиционирам p тагът навътре незнам ако имате предложения кажете вие.
ето кода

ето кода
Код:
<div id="subContent2">
<h2>за Мен</h2>
<p><div id="mypic"><img src="images/me.jpg"/></div>Студент информатика, обича да разцъква непознатото</p>
</div>
Код:
#content, #subContent2 {
/* Both the content area and navigation share the same background color */
background: #3c4040;
}
#content h2, #subContent2 h2 {
/* Section headers share the same tiled background image and font */
background: #0290fc url('images/smallheaderBG.jpg') repeat-x top left;
font: bold 14px/28px Sans;
text-indent: 1em;
#subContent2 {
/* The navigation is positioned to the left using a left float */
float: left;
width: 385px;
}
#mypic {
float:right;
width:100px;
height:141px;
padding-right:10px;
padding-left:10px;
padding-bottom:10px;
}