Jump to content
say3er.

O mica problema | css

Recommended Posts

Posted

Sunt incepator in css si as vrea sa stiu cum pot pune langa un text o imagine :D

Resurse necesare:

efc600b4-5d49-3c34-b19f-27ec2a90975a.png

Sa pun o imagine langa textul " 3 comments" in acest caz.

Script CSS:

/*-----------------------------------------------------------------------------------*
/* = Comments
/*-----------------------------------------------------------------------------------*/
#comments {
padding: 20px;
background: #FFF;
border-top: 2px solid #DDD;
text-align: center;





}
#commentsbox { margin-top: 30px }
#commentsbox ol,
#commentsbox ul {
list-style: none;
margin-left: 0 !important;

}
#commentsbox li { margin-bottom: 30px }
.children {
list-style: none;
margin: 30px 0 0;
text-indent: 0;
}
.children li.depth-2 { margin: 0 0 0px 50px }
.children li.depth-3 { margin: 0 0 0px 50px }
.children li.depth-4 { margin: 0 0 0px 50px }
.children li.depth-5 { margin: 0 0 0px 50px }
.comment-body {
background: #FFF;
position: relative;
padding: 20px;
background: #FFF;
border-bottom: 1px solid #cdcdcd;
border-right: 1px solid #cdcdcd;

Posted

Nu din css se pun imagini... dar daca neaparat vrei asa:


.imagine {
width:lungime_imagine;
height:inaltime_imagine;
background-image:url('adresa_imagine');
}

Si in codul html adaugi:


<div class="imagine"></div>

Posted

Pai eu editez o thema de wp iar in style.css sunt definite toate imaginile ca asa trebuie..

ex:


.meta-date{ background: url(images/date.png) left no-repeat; }
.meta-category{ background: url(images/category.png) left no-repeat; }
.meta-author{ background: url(images/author.png) left no-repeat; }
.meta-permalink{ background: url(images/permalink.png) left no-repeat; }

body {
background: #f5f4f4 url(images/white-texture.png) repeat;

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...