웹사이트에서 div를 영구적으로 제거하는 방법은 무엇입니까?

웹사이트에서 div를 영구적으로 제거하는 방법은 무엇입니까?

아래 참조 내용은 내 웹사이트에서 div를 제거하는 데 도움이 될 수 있는지 궁금합니다.

<div style="text-align: center; font-size: smaller; clear: both;">Powered by <a href="http://www.joomultra.com" target="_blank" rel="follow">JU Contact</a></div>

이 div를 삭제하는 방법이 있나요?

답변1

이 div를 삭제할 수 있는 방법이 있나요?

무료 버전을 사용하고 있습니다.줌라울트라주형.

이 저작권 텍스트를 제거하려면 유료 버전을 구입해야 합니다.

원천JU 연락처 제공

답변2

이를 위해 jquery를 사용할 수 있습니다.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
  <head>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
    <script>
       $(document).ready(function () { 
          $('div').css('display', function () {
             if ($(this).css('clear') == 'both')
                 return 'none'
          });
       });
    </script>

    <title></title>
  </head>
  <body>


  </body>
</html>

관련 정보