html - Floating images left -


I am eating a little bit at HTML and CSS and I am unable to float 2 images, one code Reads ...

  & lt; Div class = "kbody" & gt; & Lt; Img class = "kimg1" src = "img1.jpg" alt = "" width = "375px" height = "auto" & gt; & Lt; Div id = "ktxt" & gt; & Lt; P & gt; & Amp; Nbsp & amp; Nbsp; & Amp; Nbsp; & Amp; Nbsp; & Amp; Nbsp; & Amp; Nbsp; & Amp; Nbsp; Amp; Nbsp; & Nbsp; On November 9, 1938, Kristalachat happened. Also known as the night of broken glass, it was an organized attack of the Jews Hitler burned the synagogues to Nazis throughout Germany and Austria, broke shop windows, stole from the shops, killed a dozen dozen Jews, and arrested more than twenty thousand. A few days later, Germany had a & amp; Quotatonement fine & amp; Quoted that over one billion dollars was added and left on the rest of the Jews & lt; / P & gt; & Lt; / Div & gt; & Lt; Img class = "kimg2" src = "img3.jpg" alt = "" width = "375px" height = "auto" & gt; & Lt; / Div & gt;   

and CSS ...

  .cobi {width: 800px; Margin-left: auto; Margin-right: auto; / * Border style: solid; Border width: 3px; * /} .kimg1 {padding-left: 5px; Cushion Top: 5px; Padding-bottom: 5px; Swim left; } .kimg2 {padding-left: 5px; Cushion Top: 5px; Padding-bottom: 5px; Swim left; Margin Top: 10px; } #ktxt {padding-left: 10px; Padding-right: 10px; Cushion Top: 10px; / * Border-width: 2px; Border-style: solid; * / Width: 350px; Height: 330px; Margin-left: 402px; Font style: aerial, non-serif; Color: # 336699; Font-size: 14pt; }   

What am I doing wrong ?? This code looks like this

To move the other image below the first:

  .kimg2 {clear: both; }    

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -