Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/79.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 引导:图像出井_Html_Css_Twitter Bootstrap - Fatal编程技术网

Html 引导:图像出井

Html 引导:图像出井,html,css,twitter-bootstrap,Html,Css,Twitter Bootstrap,正如您在这个屏幕截图中所看到的,该图像不属于.well元素。 在这里您可以看到我的源代码: <article class="well"> <header> <h3>News mit Bild</h3> <p> <span class="glyphicon glyphicon-user"></span> Geschrieben von: <a h

正如您在这个屏幕截图中所看到的,该图像不属于.well元素。 在这里您可以看到我的源代码:

<article class="well">
    <header>
        <h3>News mit Bild</h3>
        <p>
            <span class="glyphicon glyphicon-user"></span> Geschrieben von: <a href="#">TupidaMC</a><br/>
            <span class="glyphicon glyphicon-time"></span> Veröffentlicht am 13.11.2014 um 21:23
        </p>
    </header>
        <p class="news-content">... text ...</p>
        <img class="img-thumbnail news-pic" src="http://placekitten.com/g/350/251" />
        <p class="news-content">... text ...</p>
</article>

我想得到一些响应。

将.clearfix类添加到文章标记中

<article class="well clearfix">

将.clearfix类添加到文章标记中

<article class="well clearfix">
这是一把小提琴:

我相信您只是想在CSS中的.well元素中添加overflow:hidden


我相信您只是想在CSS中的.well元素中添加overflow:hidden。

尝试在img中添加最大宽度:100%和最大高度:100%。@shadeed9谢谢,但这不会改变任何东西:/shadeed9尝试在img中添加最大宽度:100%和最大高度:100%。@shadeed9谢谢,但这不会改变任何东西:/@FelixGraf欢迎您。如果您认为我的答案是正确的,请随时将其标记为正确答案。我想这样做,但必须等待15分钟,直到我可以这样做:3@FelixGraf当然欢迎你。如果您认为我的答案是正确的,请随意将其标记为正确答案。我想这样做,但必须等待15分钟,直到我可以这样做:3我觉得这应该是公认的答案。如果你用的是Bootstrap,那么就用Bootstrap。我觉得这应该是公认的答案。如果使用引导,则使用引导。