0

我有一个网站 (http://www.theqlick.com/festivalfreaks.php),在某些浏览器上 p 标签似乎不起作用。

它似乎向上射击而​​不是停留在正确的位置。我想知道如何创建一个带有严格填充的 div。

我的 CSS/HTML 代码如下:

         .pinboard2 {position:absolute; margin-top:150px; left:300px; width:200px; height:25px;}

                 .intro1 {   position:relative;
                 font-family: Noteworthy, Comic MS Sans;
                 font-size:16pt;
                 margin-top:-860px;
                 left:-290px;
                 width:520px;
                 text-align:center;
                color:white;}




                <DIV class="pinboard2">
<p id="intro1" class="intro1">Want to become a Chat! Member? Click <a href="home.php"> Here </a> to Login/Register. </p>
   <p class="intro"><br><b>We, at Qlick</b>, have decided that nothing is more important than the benefit of music. Music is a massive part of our lives. Music makes us who we are and people can tell your personality with music. <br><br>

<b>With us working on a way of expressing music </b> in a fantastic way, we have developed and built a way in which people can feel at home regarding festivals.<br><br>

   <b>Festivals are events and parades for music</b>, where people can come together and enjoy it. FestivalFreaks declares itself the Place for Festivals, in which more and more festivals are being added and supported for the platform of FestivalFreaks. 



4

1 回答 1

0

我不确定在旧 IE 中打开它时会发生什么,但你这样做的方式非常糟糕。
这样的事情会好的

<style>.pinboard2 {background: url("yourbg.png") no-repeat;}</style>
于 2012-10-16T08:54:16.250 回答