• kjagen

    (@kjagen)


    What code can I use to have border on img`s in the main area and not on those in the sidebars?

    By the way; what does img sided means?

    img {float:left}
    
    img {
    border: #999999 1px;
    border:1px solid #666666;
    
    } 
    
    img.sided {
    
    	background:#FFF;
    
    	border:1px solid #555555;
    
    	padding:1px;
    
    }
    
    small {
    
    	font-size:10px;
    
    }
    
    a:hover img.sided {
    
    	border-color:#ffffff;
    
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi

    (@esmi)

    Easy bit first…

    what does img sided means

    It just means that your theme uses the class “sided” on some images so that they can be styled independently.

    What code can I use to have border on img`s in the main area and not on those in the sidebars?

    Depends on the class/id of your theme’s main posting area. Assuming your theme uses the default class of “post”, it would be something like:

    .post img {border:1px solid #000;}

    Thread Starter kjagen

    (@kjagen)

    Great!! you help alot

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Border on images’ is closed to new replies.