html - Css text/image wrap not working -


why text wrap not work around these images? work in magento text editor, why not use css style sheet write code.

not working version: https://jsfiddle.net/mastervision/s8grhjab/

i used textwrap enter image description here

i worked me in many other situations here: https://jsfiddle.net/mastervision/s6o64m06/

<!doctype html>         <html>         <head>         <style>          .newspaper {             /* chrome, safari, opera */             -webkit-column-count: 2;             -webkit-column-gap: 40px;             -webkit-column-rule-style: outset;             -webkit-column-rule-width: 1px;                /* firefox */             -moz-column-count: 2;             -moz-column-gap: 40px;             -moz-column-rule-style: outset;             -moz-column-rule-width: 1px;              column-count: 2;             column-gap: 40px;             column-rule-style: outset;             column-rule-width: 1px;         }          .textwrap {         float: right;         margin:10px;}          @media screen , (max-width: 40em) {             .newspaper{                 /* chrome, safari, opera */                  -webkit-column-count :  1 ;                  -webkit-column-gap :  0px ;                  -webkit-column-rule-style : outset ;                  -webkit-column-rule-width :  1px ;                  /* firefox */                  -moz-column-count :  1 ;                  -moz-column-gap :  0px ;                  -moz-column-rule-style : outset ;                  -moz-column-rule-width :  1px ;                  column-count :  1 ;                  column-gap :  0px ;                  column-rule-style : outset ;                  column-rule-width :  1px ;              }           .textwrap {         float: right;         margin:10px;}            </style>         </head>         <body>           <div class="newspaper">         <p><span style="font-size: x-large;">gentleman basis-ausstattung</span><br />      ="font-size: medium;">link advanced tipps.</span></span></p>          </body>         </html> 

enter image description here

it's failing because not using class .textwrap anywhere in code. add class paragraph contain images , done:

<p class="textwrap">     <img title="schwarzer cap-toe oxford" src="{{media url="wysiwyg/ohne.text_landingpage_1200pix_08.jpg"}}" alt="schwarzer cap-toe oxford" width="300" height="155" /> </p> 

you can see on of links below:

(notice images need on own paragraph work, that's why changed code little around first picture)


Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -