2014-12-04 20 views
0

브라우저에서 특정 WordPress 페이지를보고 방화 광구를 만들면 내 div에 추가되는 온라인 스타일이 나타납니다. 나는 그런처럼 쓴Div에 추가 된 인라인 높이

...

<div class="menuCol-left"> 
<div class="menuitem"> 
<h3>Buffalo Boneless Wing Dip</h3> 
<p>If you like boneless wings then this dip is for you! A blend of three cheeses, zesty boneless wings, Cajun pepper sauce and our special seasonings all baked together to create this unique dip. Served with tortilla chips and pita points for diggin in.</p> 
<p>~ <b>$10.99</b></p> 
</div> 
</div> 

하지만 그것을 끌어 때의 요소가 너무 좋아 보여 검사는 .. (이 보여 시작되는 그 일어나는)

<div class="menuCol-left"> 
*********<div class="menuitem" style="height:168px">********* 
<h3>Buffalo Boneless Wing Dip</h3> 
<p>If you like boneless wings then this dip is for you! A blend of three cheeses, zesty boneless wings, Cajun pepper sauce and our special seasonings all baked together to create this unique dip. Served with tortilla chips and pita points for diggin in.</p> 
<p>~ <b>$10.99</b></p> 
</div> 
</div> 

이 자바 스크립트 문제가 될 수 있을까? min-height : 0을 추가하려고했습니다! important; CSS 파일에서 .menuitem의 높이에 대해 아무 것도 말하지 않고 그에 대한 마크 업에는 아무 것도 없습니다. 나는 당혹 스럽다.

+0

메뉴에 플러그인을 사용하고 있습니까? – vaso123

+0

자바 스크립트 문제인 것처럼 보이지만 전체 코드가 없으면 나는 짐작할 수 있습니다. – Johni

답변

1

예, 일부 자바 스크립트 코드는 요소의 높이를 설정합니다. .menuitem에 대한 검색을 시도해보십시오.

0

모든 파일을 검색 할 수있는 대괄호, 드림위버, 숭고한 또는 철저한 편집기를 사용하십시오. 콜론없이 "#menuitem"및 "menuitem"을 검색하십시오. 거기에 물건을 추가하는 PHP 태그가 있거나이 ID를 호출하고이 매개 변수를 파일의 어딘가에있는 요소에 추가하는 JavaScript 스크립트가있을 수 있습니다.

관련 문제