Friday, 15 May 2015

html - CSS wrapping text with overflow hidden div not working? -


In my CSS, I type a class style overflow: hidden . The word wrap does not work if there is a small image in my div and some paragraph text is hidden in the overflow sense. If I delete, it works but I need to overflow and wrap the word too. I

  .img-block_100 {height: 100px; Width: 100px; Swim left; Margin-right: 5px; } .img-block_100 img {max-width: 100%; } .ee-content {width: 100%; Height: 140px; Hidden flurry; Width: 250px; }  

Please check what I've tried:

This is because overflow: hidden started img was clearing the element.

A solution would be to wrap both the elements and then add overflow: hidden for the wrapper, in this case, img is not being turned on , And wrap the text about as img as expected.

Material-wrapper {width: 250px; Height: 140px; Hidden flurry; }

No comments:

Post a Comment