2011-05-13 10 views
0

을 덮어 원하는대로 - "blog # 2"에있는 FireBug에서 margin-top: 28px !important을 볼 수 있습니다 (! ??)CSS 내가 <a href="http://olisan.dk/blog/" rel="nofollow">http://olisan.dk/blog/</a>에 블로그를했습니다

도움이 되겠습니다. 있는 style.css의

+0

을 붙여? 나는 크롬에서 그것을 볼 수 없는가? –

+0

사파리는 '패딩 - 탑 : 20px; margin-top : 0px;'나를 위해 – grc

+0

FF4와 IE8에서 갭/여백도 없다. – Till

답변

1

라인 (194)

#topbody { 
    width: 939px; 
    margin-left: auto; 
    margin-right: auto; 
} 

은 상단에있는 흰색의 간격을 없애 것인가 ...에 다음

#topbody { 
    width: 939px; 
    margin-left: auto; 
    padding-top: 20px; 
    margin-right: auto; 
} 

변경이 있습니다.

2

우리 중 누구도이 차이를 보지 못하기 때문에 맨 위에 간격을 추가하는 것이 WordPress의 관리 표시 줄이라고 가정합니다. 테마에서 사용하지 않는 경우 제거 할 수 있습니다.

wp_deregister_script('admin-bar'); 
wp_deregister_style('admin-bar'); 
remove_action('wp_footer','wp_admin_bar_render',1000); 

http://italkless.com/remove-wordpress-3-1-admin-bar-easily.html

0

는 header.php를 ..locate, 그냥 wp_head 호출 후에, 다음 코드이 큰 차이가 <style type="text/css" media="screen"> html { margin-top: 0px !important; } * html body { margin-top: 0px !important; } </style>

관련 문제