편집 기록

편집 기록
  • 프로필 엽토군님의 편집
    날짜2021.12.27

    html 질문


    <!DOCTYPE html><html>
    <head>
      <title> 우엉잉</title>
      <meta charset="utf-8">
      <style>
        #topmemu{
          height: 30px;
          width: auto;
          vertical-align: top;
        }
        #topmemu li {
          list-style: none;
          color: white;
          background-color: #2d2d2d;
          float: left;
          line-height: 40px;
          vertical-align: middle;
          text-align:  center;
        }
        #topmemu .topmemulink{
        text-decoration: none;
        color: white;
        display: block;
        width: 200px;
        font-size: 15px;
        font-weight: bold;
        font-family: "Trebuchet MS", Dotum, Arial;
        }
        #topmemu .topmemulink:hover{
          color:red;
          background-color: #4d4d4d;
        }
      </style>
    
    </head>
    <body>
      <img src="logo.png" width="150px">
      <nav id="topmemu">
    
        <li><a class="topmemulink" href="잉잉1.html" >잉잉1</a></li>
        <li><a class="topmemulink" href="잉잉2.html" >잉잉2</a></li>
        <li><a class="topmemulink" href="잉잉3.html" >잉잉3</a></li><br>
    
      </nav>
    

    사진옆에 상단바가 붙게 하려면 어떻게 해야하나요?

  • 프로필 주현서님의 편집
    날짜2021.12.26

    html 질문


    <!DOCTYPE html> 우엉잉 #topmemu{ height: 30px; width: auto; vertical-align: top; } #topmemu li { list-style: none; color: white; background-color: #2d2d2d; float: left; line-height: 40px; vertical-align: middle; text-align: center; } #topmemu .topmemulink{ text-decoration: none; color: white; display: block; width: 200px; font-size: 15px; font-weight: bold; font-family: "Trebuchet MS", Dotum, Arial; } #topmemu .topmemulink:hover{ color:red; background-color: #4d4d4d; }

    <li><a class="topmemulink" href="잉잉1.html" >잉잉1</a></li>
    <li><a class="topmemulink" href="잉잉2.html" >잉잉2</a></li>
    <li><a class="topmemulink" href="잉잉3.html" >잉잉3</a></li><br>
    

    사진옆에 상단바가 붙게 하려면 어떻게 해야하나요?