0

我添加了一个标题,我还添加了一个段落,但每次我尝试添加内容时它都不会显示。我尝试了一个列表、一个段落和一个标题,但它们都没有奏效。我不知道为什么!

HTML

<div id="midwrap"><a class="headerone">Tag Helper</a>
<p class="paragraph1tag">Select the coding in which you are using for the "Tag Helper".</p>
<p class="paragraph1tag">Selesdgsdgdsgct the coding in which you are using for the "Tag Helper".</p>
</div>

CSS

#midwrap {
    width: 70%;
    height: 90%;
    border-left: 1px solid #c4c4c4;
    top: 10px;
    position: relative;
    overflow: hidden;
    float: right; 
    clear: right;
    margin-right: 7%;
}

.headerone {
    color: #000000;;
    font-size: 25px;
    font-family: sans-serif;
    position: relative;
    margin-left: 15px;
}

.paragraph1 {
    color: #000000;;
    font-size: 14px;
    font-family: sans-serif;
    position: relative;
    margin-left: 15px;
}
4

1 回答 1

3

overflow: hidden;在您的规则中删除#midwrap

于 2013-07-01T03:14:42.833 回答