html 질문

조회수 414회
<!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>

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

1 답변

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

프로그래머스 커뮤니티는 개발자들을 위한 Q&A 서비스입니다. 로그인해야 답변을 작성하실 수 있습니다.

(ಠ_ಠ)
(ಠ‿ಠ)