首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >字体显示为Bold

字体显示为Bold
EN

Stack Overflow用户
提问于 2014-04-13 22:13:22
回答 2查看 813关注 0票数 0

出于某种原因,“支持我们”一节下的文本都是粗体。我试过强迫字体样式正常,但它仍然很大胆。JSFiddle看起来有点混乱,但是如果你向右滚动,你会看到我的问题。

http://jsfiddle.net/4bQjs/

以下是该部分的HTML代码:

代码语言:javascript
复制
<div id="rightcolumn">
<div id="supportus">

<div class="TitleBG">
    <h5>SUPPORT US</h5>
    </div>

<div style="float: left;margin-left:10px;margin-top:10px;outline:#747474 solid thin;">
    <img src="images/marathon.jpg" width="500" height="265" />
</div>

<div style="float:left; text-align: left">


The Baltimore Running Festival

<br></br>

One of the more popular races of the Baltimore Running Festival is the Team Relay. Running the same course as the marathoners, 
the Team Relay consists of FOUR participants per team with each runner selecting a portion of the marathon course to run. 

<br></br>

Our Cause

<br></br>

We are participating in our first ever team relay to raise money to support our research.  With your help, we can raise money
to continue our fight against Lyme disease and Post-treatment Lyme disease syndrome.

</div>

和CSS:

代码语言:javascript
复制
#supportus {
  min-height: 645px;
  margin-top: 20px;
  margin-bottom: 20px;
  background: #ffffff;
  outline:#e8e8e8 solid thin;
  font-family:"Helvetica",Arial,sans-serif;
  font-size:16px;
  font-style:normal;
}
EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2014-04-13 22:21:02

您有一个随机的<b>标记在周围浮动,它包围着您的#rightcolumn。就在这里:

<b> <p>To find out more about these findings go to our description and listing

我相信问题是,您用一个p包装了一个b,并且从未结束这个段落。再检查一下HTML,你就会没事的。

票数 1
EN

Stack Overflow用户

发布于 2014-04-13 22:17:36

您的右列嵌套在<b>标记中

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/23049080

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档