Forums

Border on images (3 posts)

  1. kjagen
    Member
    Posted 2 years ago #

    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;
    
    }
  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    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;}

  3. kjagen
    Member
    Posted 2 years ago #

    Great!! you help alot

Topic Closed

This topic has been closed to new replies.

About this Topic