css - How to make my text box with 25% width and image with 75% width the same height? -


I am using standard bootstrap 3, but with a background color scale an image and text are well together Can not create block any clue?

  & lt; Div class = "row" & gt; & Lt; Div class = "colon-xs-3" & gt; Lorum ipsim novarum & Lt; / Div & gt; & Lt; Div class = "col-xs-9 img-responsive" & gt; & Lt; Img src = "img / landscape.jpg" alt = "sibe" & gt; & Lt; / Div & gt; & Lt; / Div & gt; *  

Put the 'IMG-responsive' class on the image, for example:

  & lt; Div class = "row" & gt; & Lt; Div class = "colon-xs-3" & gt; Lorum ipsim novarum & Lt; / Div & gt; & Lt; Div class = "col-xs-9" & gt; & Lt; Img src = "img / landscape.jpg" alt = "sibe" class = "img-responsive" & gt; & Lt; / Div & gt; & Lt; / Div & gt;  

Comments