Make WordPress Core

Ticket #5626: footer-fix-new-part2.diff

File footer-fix-new-part2.diff, 1.8 KB (added by spencerp, 16 years ago)

Try this second version once, compare to first one.

  • wp-admin/admin-footer.php

     
    1 
     1</div>
    22<div id="footer">
    33<p><?php
    44
  • wp-admin/admin-header.php

     
    3636?>
    3737</head>
    3838<body class="wp-admin <?php echo apply_filters( 'admin_body_class', '' ); ?>">
     39<div id="nonFooter">
    3940<div id="wphead">
    4041<h1><?php bloginfo('name'); ?> <span id="viewsite"><a href="<?php echo get_option('home') . '/'; ?>"><?php _e('Visit Site') ?></a></span></h1>
    4142</div>
  • wp-admin/wp-admin.css

     
    22        height: 100%; /* kill peekaboo bug in IE */
    33}
    44
     5html{height: 100%;}
     6
    57/* This is the Holly Hack \*/
    68* html .wrap { height: 1% }
    79/* For Win IE's eyes only */
     
    1921.wrap {
    2022        margin: 0;
    2123        padding: 0;
     24        padding-bottom: 9em;
    2225        margin-left: 15px;
    2326        margin-right: 25%;
     27        margin-bottom:19%;
    2428}
    2529
    2630.wrap h2 {
     
    9195body    {
    9296        background: #fff;
    9397        color: #333;
     98        height: 100%;
    9499        margin: 0;
    95100        padding: 0;
    96101}
     
    978983        margin: 0;
    979984        background: #464646 url('images/logo-ghost.png') no-repeat 20px 10px;
    980985        color: #999;
     986        position: relative;
     987        margin-top: -4.06em;
    981988}
    982989
    983990#footer a {
     
    989996        padding: 5px 0;
    990997}
    991998
     999#nonFooter {
     1000       position: relative;
     1001       min-height: 100%;
     1002}
     1003
     1004* html #nonFooter{
     1005       height: 100%;
     1006}
     1007
    9921008/* Tables used on comment.php and option/setting pages */
    9931009
    9941010.niceblue {