My Header wont show or show image
-
Hey i wanted to change my Header image so i decided to place my menu with hotspots as the header, so i could have a nice menu for my site.
but the header simply wont show up? when i type text into the body it shows, but otherwise nothing. no image. odd cuz it worked the 1st time i did it.
heres my header.php:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="https://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> <head profile="https://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <style type="text/css" media="screen"> <?php // Checks to see whether it needs a sidebar or not if ( !empty($withcomments) && !is_single() ) { ?> #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/layout_menu_2-<?php bloginfo('text_direction'); ?>.jpg") repeat-y top; border: none; } <?php } else { // No sidebar ?> #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/layout_menu_2.jpg") repeat-y top; border: none; } <?php } ?> #headerimg { margin: 0px 0px 0; height: 100%; width: 100%; } </style> <?php wp_head(); ?> </head> <body> <div align="center" class="ad" style="border:none"> <img src="images/layout_menu_2.jpg" width="960" height="111" usemap="#m_main_r1_c1" style="border: none ;"/></img> <map name="m_main_r1_c1" id="m_main_r1_c1"> <area shape="rect" coords="24,13,229,54" href="main.html" alt="" /> <area shape="rect" coords="24,59,230,98" href="wp/?page_id=85" alt="" /> <area shape="rect" coords="731,59,936,98" href="wp/?page_id=90" alt="" /> <area shape="rect" coords="498,59,703,98" href="forums.html" alt="" /> <area shape="rect" coords="731,14,936,53" href="wp/?page_id=81" alt="" /> <area shape="rect" coords="498,14,703,53" href="wp/?page_id=87" alt="" /> <area shape="rect" coords="257,59,462,98" href="wp/?page_id=77" alt="" /> <area shape="rect" coords="257,13,462,55" href="wp/?page_id=56" alt="" /> </map> </div> </body>
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘My Header wont show or show image’ is closed to new replies.