• Hey i have a little problem…

    In my main index.php in my template, i have created the 2 following lines:

    <span class=”post-geo”><?php GeoMashup::show_on_map_link(‘Vis Kort’) ?></span>

    <span class=”post-edit” ><?php edit_post_link(‘Rediger’,”,”); ?></span>

    And in my style.css, the following lines:

    .post-geo {
    margin: 0 0 0 12px;
    padding: 0 0 0px 21px;
    background: url(images/map2.png) no-repeat 0 0;
    }

    .post-edit {
    margin: 0 0 0 12px;
    padding: 0 0 0px 21px;
    background: url(images/page_white_edit.png) no-repeat 0 0;
    }

    So in IE, it work as i should. The images are shown before the php command. The edit line and image are only shown when logged in, and the map icon are only showed then a map is associated to a post.

    But when viewing in firefox, the images are shown no matter if i’m logged in or there is a map associated to a post. Of course the php commands are shown when they should.

    What is wrong? how can i get it to work?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Small icons linked to php line not showing in IE but in firefox?’ is closed to new replies.