×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: CSS
Posted by: Gábor Papp
Added: Nov 29, 2016 10:47 AM
Views: 7
Tags: no tags
  1. #outer {
  2.     padding:5px;
  3.     border: 1px solid green;
  4. }
  5. #inner {
  6.     border: 1px solid black;
  7.     overflow: hidden;
  8. }
  9. img {
  10.     display:block;
  11.     float:right;
  12.     border:1px solid red;
  13.     width:100px;
  14.     height:100px;
  15. }