테스트 사이트 - 개발 중인 베타 버전입니다

페이지삽입후 메인화면로고......[소스첨부] 채택완료

수정이아빠 7년 전 조회 1,767

메인화면에 그림처럼 페이지를삽입했는데....왼쪽위에 로고가 제대로 표시가 안됩니다..

삽입페이지의 스크립트에 영향을받은건가요?

그리고 빨간직사각형 삽입테이블부분은 최신글폭과 맞추려면.....어디를 수정해야하나요??

이미지와 삽입페이지 스크립트소스첨부합니다..

 

</p>

<p><head>

<meta charset="UTF-8">

<style rel="stylesheet"></p>

<p>body * {

  box-sizing: border-box;

}</p>

<p>.header {

  

  color: red;

  font-size: 1.2em;

  

  text-align: center;

  text-transform: uppercase;

}</p>

<p>.table-users {

  border: 1px solid #327a81;

  border-radius: 10px;

  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);

  max-width: calc(100% - 2em);

  margin: 1em auto;

  overflow: hidden;

  width: 100%;

}</p>

<p>table {

  width: 100%;

}

table td, table th {

  color: #2b686e;

  padding: 0.5px;

  font-weight: bold;

}

table td {

  text-align: center;

  vertical-align: middle;

  font-weight: bold;

}

table td:last-child {

  font-weight: bold;

  line-height: 1.4;

  text-align: center;

}

table th {

  background-color: #daeff1;

  font-weight: 300;

}

table tr:nth-child(2n) {

  background-color: white;

}

table tr:nth-child(2n+1) {

  background-color: #edf7f8;

}</p>

<p>@media screen and (max-width: 700px) {

  table, tr, td {

    display: block;

  }</p>

<p>  td:first-child {

    position: absolute;

    top: 50%;

    -webkit-transform: translateY(-50%);

            transform: translateY(-50%);

    width: 100px;

  }

  td:not(:first-child) {

    clear: both;

    margin-left: 100px;

    padding: 4px 20px 4px 90px;

    position: relative;

    text-align: left;

  }

  td:not(:first-child):before {

    color: #91ced4;

    content: '';

    display: block;

    left: 0;

    position: absolute;

  }

  td:nth-child(2):before {

    content: '코인원거래가:';

  }

  td:nth-child(3):before {

    content: '빗썸거래가:';

  }

  td:nth-child(4):before {

    content: '가즈아거래가:';

  }

  </p>

<p>  tr {

    padding: 10px 0;

    position: relative;

  }

  tr:first-child {

    display: none;

  }

}

@media screen and (max-width: 500px) {

  .header {

    background-color: transparent;

    color: white;

    font-size: 2em;

    font-weight: 700;

    padding: 0;

    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);

  }</p>

<p>  img {

    border: 3px solid;

    border-color: #daeff1;

    height: 100px;

    margin: 0.5rem 0;

    width: 100px;

  }</p>

<p>  td:first-child {

    background-color: #c8e7ea;

    border-bottom: 1px solid #91ced4;

    border-radius: 10px 10px 0 0;

    position: relative;

    top: 0;

    -webkit-transform: translateY(0);

            transform: translateY(0);

    width: 100%;

  }

  td:not(:first-child) {

    margin: 0;

    padding: 5px 1em;

    width: 100%;

  }

  td:not(:first-child):before {

    font-size: .8em;

    padding-top: 0.3em;

    position: relative;

  }

  td:last-child {

    padding-bottom: 1rem !important;

  }</p>

<p>  tr {

    background-color: white !important;

    border: 1px solid #6cbec6;

    border-radius: 10px;

    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);

    margin: 0.5rem 0;

    padding: 0;

  }</p>

<p>  .table-users {

    border: none;

    box-shadow: none;

    overflow: visible;

  }

}</p>

<p></style>

<script src="<a href="https://code.jquery.com/jquery-1.4.4.min.js"></script>" target="_blank" rel="noopener noreferrer">https://code.jquery.com/jquery-1.4.4.min.js"></script></a></p>

<p>

댓글을 작성하려면 로그인이 필요합니다.

답변 1개

채택된 답변
+20 포인트
7년 전

html 내용이 있어야 답변 가능합니다

 

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인