HELP!Menu isn’t working
-
Hi,i sliced my menu with ps,added css code like this:
.home { position: absolute; margin:0px; padding-left:457px; left: 0px; top: 0px; width:126px; height:76px; border:0px white solid; } .about { position: absolute; margin:0px; padding-left:583px; left: 0px; top: 0px; width:126px; height:76px; border:0px white solid; } .work { position: absolute; margin:0px; padding-left:709px; left: 0px; top: 0px; width:126px; height:76px; border:0px white solid; .hire-me{ position: absolute; margin:0px; padding-left:835px; left: 0px; top: 0px; width:126px; height:76px; border:0px white solid;
and menu code like this:
<a href="<?php bloginfo('url'); ?>/" title="Home"></a><img src="<?php bloginfo('template_directory'); ?>/images/home.png" alt="Home" class="home"/> <a href="<?php bloginfo('url'); ?>/about" title="About"></a><img src="<?php bloginfo('template_directory'); ?>/images/about.png" alt="About" class="about"/> <a href="<?php bloginfo('url'); ?>/work-2" title="Work"><img src="<?php bloginfo('template_directory'); ?>/images/work.png" alt="Work" class="work"/></a> <a href="<?php bloginfo('url'); ?>/hire-me" title="Hire me"><img src="<?php bloginfo('template_directory'); ?>/images/hire-me.png" alt="Hire me" class="hire-me"/></a>
on header.php,but menu isn’nt working,it shows last link as active on every menu button,what i did wrong?
Thanx
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘HELP!Menu isn’t working’ is closed to new replies.