我是來自比利時的學生。我正在創建我的投資組合網站,並且遇到了我無法修復的錯誤 。我的老師建議我在這裏發表問題尋求幫助。HTML和CSS的文本位置不能更改
正如你可以大膽的文字怪怪的截圖中看到。它應該像下面的文本部分一樣。 有什麼辦法解決這個問題嗎?
HTML
<div id="content">
<div class = "intro" id="introtext">
<h2 id="h2intro">My name is not Joren and I am a <span class="cyan">designer</span> from Belgium. </h2>
<h3 class="h3intro">I am passionate about making very <span class="cyan">simple and clean</span> designs that are easy on the eye and very simple to use.</h3>
</div><!--end intro-->
CSS
.cyan
{
color:#00d1e0;
}
#h2intro
{
font-weight: bold;
}
.h3intro
{
color: #463E3F;
}
提前感謝!
淨蓮
第一,你爲什麼要使用一個頭的ID(#h2intro)和其他(.h3intro)一類? – james31rock
你的老師是非常明智的,你在這裏發,我想補充 – Luke
正常工作對我來說:http://jsfiddle.net/RJxBy/ – Luke