Alignment issue in IE
-
Hello!
I am using the seawater 3.2 theme and the header works great in firefox and google chrome but in IE it is all messed up.
http://www.tankgadget.com/If anyone has a clue, I’d appreciate some help. it’s driving me batty.
here is the header code.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> <head profile="http://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_home()) { ?> - <?php bloginfo('description'); ?> <?php } ?> <?php if(is_single()) { ?> <?php wp_title(); ?> <?php } ?> <?php if(is_404()) { ?> - Page Not Found <?php } ?> <?php if(is_search()) { ?> - Search Results for: <?php echo wp_specialchars($s, 1); ?> <?php } ?> </title> <link rel="shortcut icon" href="<?php bloginfo('template_url'); ?>/images/favicon.ico"> <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'); ?>" /> <?php wp_head(); ?> </head> <body> <div id="wrapper"> <div id="container"> <!-- ^^^^^^^^^^^^^^ header code ^^^^^^^^^^^^^^ --> <div id="header"> <div id="pagenav"> </div> <div id="searchform"> <form method="get" action="<?php bloginfo('url'); ?>/"> <input type="text" name="s" id="searchinput" value="Search website..." onfocus="if(this.value == 'Search website...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search website...';}" /> <input type="submit" value="Go" id="searchbutton" /> </form> </div> <div id="logo"> <h1><a href="<?php echo get_option('home'); ?>/" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1> <div class="description"><?php bloginfo('description'); ?></div> </div> <div class="clear"></div> <div id="headertab"> <?php function get_the_pa_ges() { global $wpdb; if ( ! $these_pages = wp_cache_get('these_pages', 'pages') ) { $these_pages = $wpdb->get_results('select ID, post_title from '. $wpdb->posts .' where post_status = "publish" and post_type = "page" order by ID'); } return $these_pages; } function list_all_pages(){ $all_pages = get_the_pa_ges (); foreach ($all_pages as $thats_all){ $the_page_id = $thats_all->ID; if (is_page($the_page_id)) { $addclass = ' id="current"'; } else { $addclass = ''; } $output .= '<li' . $addclass . '><a href="'.get_permalink($thats_all->ID).'" title="'.$thats_all->post_title.'"><span>'.$thats_all->post_title.'</span></a></li>'; } return $output; } ?> <ul> <?php if (is_home()) { $addclass = ' id="current"'; } else { $addclass = ''; } echo "<li" . $addclass . "><a href='" . get_option('home') . "' title='Home'><span>Home</span></a></li>"; echo list_all_pages();?> </ul> </div> </div> <div class="clear"></div> <!-- ^^^^^^^^^^^^^^ header code ^^^^^^^^^^^^^^ -->
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Alignment issue in IE’ is closed to new replies.