2014-10-20 2 views
0

지난 한 주 동안이 문제에 봉착했으며 해결 방법을 찾을 수 없습니다. 크롬으로 내 사이트를 개발했지만 테두리 및 윤곽선이 IE에서 작동하지 않는다는 사실을 알았습니다. 나는 다른 사람들이이 문제를 해결해 주었기 때문에 html 문서 유형과 페이지 시작 부분을 대체하려고 시도했지만, 나에게 도움이되지 못했다. 어쨌든, 여기 내 페이지 중 하나에 대한 코드는 다음과 같습니다개요 및 경계선이 IE에 전혀 표시되지 않음

HTML :

<html> 

    <head> 

     <title>Project Star in a Jar</title> 
     <link rel="stylesheet" type="text/css" href="default.css"/> 

    </head> 

    <link rel="shortcut icon" href= "images/favicon.png"/> 
    <link rel="icon" href="images/favicon.png" type="image/x-icon"> 

    <body> 

     <div class="wrapOverall"> 

      <div class="header"> 

       <div class="logo"> 
        <img src="images/starJar.png" href="index.php" style="width:100px;height:100px"> 
         <div class="moto"> 
          <h1> Project Star in a Jar</h1> 
         </div> 
       </div> 

       <div class="nav_main"> 

         <ul> 
          <!--These are all the tabs at the top of the page <li><a href="link">title displayed on page</a></li>--> 
          <li><a href="index.php">Home</a></li> 
          <li><a href="tutorial/intro.php">Tutorial</a></li> 
          <li><a href="videos.php">Videos</a></li> 
          <li><a href="resources.php">Other Resources</a></li> 

         </ul> 

       </div> 

      </div> 

      <div class="Content"> 

       <div class="contentResource"> 

        <div class="resourceTitle"> 

         <h2>Resources</h2> 

        </div> 

        <div class="resourceLinks"> 

         <div class="webTitle"> 

          <h3>Website Links</h3> 

         </div> 

         <ul> 

          <li><a href="http://www.iter.org" target="_blank">ITER (International Fusion Project)</a></li> 
          <li><a href="http://www.fusor.net" target="_blank">Fusor.net (Open Source Fusor Research Consortium) </a></li> 
          <li><a href="http://www.farnovision.com/chronicles/fusion/vassilatos.html" target="_blank">FarnoVision.com (Information About Farnsworth)</a></li> 
          <li><a href="http://www.kronjaeger.com/hv-old/fusor/fusorIII/index.html#xray" target="_blank">Richard Hulls Fusor III Project (Homebuilt Fusion Project Log)</a></li> 
          <li><a href="http://www.rtftechnologies.org/physics.htm" target="_blank">RTF Technologies (Several Homebuilt Fusion Projects)</a></li> 
          <li><a href="http://www.plasma.inpe.br/LAP_Portal/LAP_Site/Text/Fusion_Plasma.htm" target="_blank">Associated Plasma Laboratory (Information About Plasma)</a></li> 

         </ul> 

        </div> 

        <div class="resourceDocs"> 

         <div class="docTitle"> 

          <h3>Documents</h3> 

         </div> 

         <ul> 

          <li><a href="#">PDF Tutorial: Star in a Jar </a></li> 
          <li><a href="https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CCIQFjAA&url=http%3A%2F%2Ffusor.net%2Fnewbie%2Ffiles%2FFUSORREF.DOC&ei=ArkkVJ-qN8zgsASw24DABg&usg=AFQjCNGbzj75ePypkL_TZ5u_hwdVceXmMQ&sig2=J4dBsxChmf4L7YWFHs7bSg&bvm=bv.76247554,d.cWc" target="_blank">DOC Fusor & Fusion References (Fusor.net)</a></li> 
          <li><a href="http://www.fusor.net/newbie/files/Ligon-QED-IE.pdf" target="_blank">PDF The World's Simplest Fusion Reactor, and How to Make it Work</a></li> 

         </ul> 

        </div> 

       </div> 

      </div> 

     </div> 

     <div class="footer"> 
      <a> 
       Copyright @ 2014 Project Star In A Jar. All Rights Reserved.<br> 
       Website and Content Created by Joshua Hess <a target="blank" href="http://www.youtube.com/s28400"><u>(s28400)</u></a> 
      </a> 

     </div> 


    </body> 

</html> 

CSS :

/*########################*/ 
    /* General HTML Tag Rules */ 
    /*########################*/ 

    body { 
     background-position:top; 
     background-attachment:fixed; 
     background-image: url('images/bg.jpg'); 
     background-size: cover; 
    } 

    /*##############################*/ 
    /* General Template Class Rules */ 
    /*##############################*/ 

    .wrapOverall { 
     width: 1100px; 
     margin-left: auto; 
     margin-right: auto; 
     border:2px solid#EE8E08; 
     background-image: url('images/bg5.jpg'); 
     background-repeat: repeat-y; 
    } 

    .logo{ 
     margin-top: -3px; 
     margin-left: -3px; 
    } 

    .logo img { 
     border:3px solid#EE8E08; 
    } 

    .moto{ 
     margin-left: 110px; 
     margin-top: -120px; 
     color: #FFFFFF; 
     text-shadow: 0 0 15px #CC2EFA; 
    } 

    .footer { 
     text-align: center; 
     margin-top:20px; 
     font-size:14px; 
     color: #FFFFFF; 
     width: 1100px; 
     margin-left: auto; 
     margin-right: auto; 
    } 

    .footer a { 
     color: inherit; 
     text-decoration: none; 
    } 

    /*##########################*/ 
    /* General Navigation Rules */ 
    /*##########################*/ 

    .header { 
     height: 100px; 
     position: relative; 
    } 

    .headerHome { 
     height: 100px; 
     padding-bottom: 90px; 
     position: relative; 
    } 

    .nav_main { 
     margin-top: 10px; 
     margin-left:96px; 
     background-color: #D8D8D8; 
    } 

    .nav_main ul { 
     margin:0px; 
     padding:0px; 
     padding:5px 18px; 
    } 

    .nav_main ul li { 
     margin:0px; 
     padding:px; 
     list-style:none; 
     display:inline; 
    } 

    .nav_main ul li a { 
     margin:0px; 
     padding:5px 18px; 
     color:#000000; 
     text-decoration:none; 
     font-weight:900; 
     font-size:17px; 
     text-transform:normal; 
     outline:2px solid#00000; 
    } 

    .nav_main ul li a:hover{ 
     text-decoration:underline; 
     color:#00000; 
     background-color:#EE8E08; 
    } 
     /*############################*/ 
     /* General Resource Formatting*/ 
     /*############################*/ 

     .contentResource { 
      width:714px; 
      margin-left: 200px; 
      text-indent: 50px; 
      border: 1px solid#FFFFFF; 
      margin-top:30px; 
      margin-bottom:30px; 
     } 

     .resourceTitle { 
      text-align: center; 
      margin-left:-45px; 
      color: #FFFFFF; 
     } 

     .webTitle { 
      color: #FFFFFF; 
     } 

     .docTitle { 
      color: #FFFFFF; 
     } 

     .resourceLinks ul { 
      list-style: none; 
      margin-left:-30px; 
     } 

     .resourceDocs ul { 
      list-style: none; 
      margin-left:-30px; 
     } 

     .resourceLinks ul li a { 
      color:#EE8E08; 
     } 

     .resourceDocs ul li a{ 
      color:#EE8E08; 
     } 
+0

HTML에 많은 오류가 있습니다. 검사기를 통해 실행 해보면 볼 수 있습니다. – j08691

답변

0

조금의 코드 만지작 후, 나는 그것을 알아 냈다. 경계선과 색상 코드 사이에 공간이 없었습니다.

이 : 같이 할 필요

border: 1px solid#FFFFFF; 

이 다른 사람이 같은 문제가있는 사람 데 도움이

border: 1px solid #FFFFFF; 

희망!

관련 문제