CSS

CSS practice for image padding

.a.media-gallery-thumb img, .media-gallery-detail img

 

Example3:

/** Image for the gallery **/

.media-gallery-media .media-gallery-item
{
width: 220px;
height: 158px;
padding: 0px;
}

 

Example2:

.media-gallery-media .media-gallery-item
{
padding: 0px;
}

 

Example1:

body {
background-image: url(“paper.gif”);
background-color: #cccccc;
}

 

CSS Syntax

background-image: url|none|initial|inherit;
Sample:
div {
background: url(img_flwr.gif);
background-size: 80px 60px;
background-repeat: no-repeat;
}

Add your comments

Loading Facebook Comments ...
Loading Disqus Comments ...