0

任何能够帮助我识别这个跨浏览器 CSS 问题的人

http://bit.ly/HC1c2u

在 Firefox 中,“获取连接”区域按预期显示,在其他情况下,它没有任何帮助

影响 HTML

 <div style="font-size:14px; width:1000px;" id="yjsg3">
    <div style="width:100%;" class="yjsgxhtml" id="user1">
    <div class="yjsquare">
<div class="yjsquare_in"><div class="on-youevents ltr" id="community-wrap"><!-- js_top --> <!-- begin: #cFrontpageWrapper -->
 <div id="cFrontpageWrapper">
 <div class="greybox">
 <div>
 <div>
 <div class="cFrontpageSignup"><!-- Start the Intro text -->
 <div class="cFrontPageLeft">
 <div class="introduction">
 <h1>Get Connected!</h1>
 <ul id="featurelist">
 <li>Connect and expand your network</li>
 <li>View profiles and add new friends</li>
 <li>Share your photos and videos</li>
 <li>Create your own group or join others</li>
 </ul>
 <div class="joinbutton"><a title="JOIN US NOW, IT'S FREE!" href="/rhythm365/social/register.html" id="joinButton"> JOIN US NOW, IT'S FREE! </a></div>
 </div>
 </div>
 <!-- End Intro text --> <!-- Start the Login Form -->
 <div class="cFrontPageRight">
 <div class="loginform"><form name="login" method="post" action="/rhythm365/social.html" id="form-login">
 <h2>Members Login</h2>
 <label> Username<br> <input type="text" name="username" class="inputbox frontlogin" id="username"> </label> <label> Password<br> <input type="password" name="password" class="inputbox frontlogin" id="password"> </label> <label for="remember"> <input type="checkbox" alt="Remember me" value="yes" name="remember" id="remember"> Remember me      </label>
 <div style="text-align: center; padding: 10px 0 5px;"><input type="submit" value="Login" name="submit" class="button" id="submit"> <input type="hidden" value="com_users" name="option"> <input type="hidden" value="user.login" name="task"> <input type="hidden" value="L3JoeXRobTM2NS9zb2NpYWwvcHJvZmlsZS5odG1s" name="return"> <input type="hidden" value="1" name="b8f1cd79c6f1e95ecd9c177eec53d705"></div>
 <span> <a href="/rhythm365/component/users/?view=reset" class="login-forgot-password">          <span>Forgot your Password?</span></a><br> <a href="/rhythm365/component/users/?view=remind" class="login-forgot-username"><span>Forgot your Username?</span></a> </span>      <br> <a href="/rhythm365/social/register/activation.html" class="login-forgot-username">      <span>Resend activation code?</span> </a></form></div>
 </div>
 <!-- End the Login form -->
 <div class="jsClr">&nbsp;</div>
 </div>
 </div>
 </div>
 </div>
 </div>
 </div></div>
 </div>

</div>
</div>
4

2 回答 2

2

文件'/templates/youevents/css/custom.css'中的导入规则后缺少分号

于 2012-04-11T16:30:34.533 回答
0

这是因为你的 reset.css,你有 font-family: inherit;

删除这个,你应该很高兴......

#community-wrap h1, #community-wrap h2, #community-wrap h3, #community-wrap h4, #community-wrap h5, #community-wrap h6 {
border: 0 none;
font-family: inherit;
font-size: 100%;
font-style: inherit;
font-weight: inherit;
margin: 0;
outline: 0 none;
padding: 0;
vertical-align: baseline;

}

你可能只是删除这整个块

Firebug 是一个非常有用的 web 开发工具,我建议你将它添加到 firefox 中,你将能够更快地进行调试

于 2012-04-11T15:49:41.237 回答