嘿,我做了WordPress的菜單,但它懸停並點擊列表項只盤旋而上邊框底部不上字徘徊在邊境菜單不是
的header.php
<?php
/**
* The Header
*
* Displays all of the <head> section and everything up till <div id="main">
*
* @package Cryout Creations
* @subpackage parabola
* @since parabola 0.5
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<?php cryout_meta_hook(); ?>
<meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo('charset'); ?>" />
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php
cryout_header_hook();
wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php cryout_body_hook(); ?>
<div id="wrapper" class="hfeed">
<?php cryout_wrapper_hook(); ?>
<div id="header-full">
<header id="header" >
<?php cryout_masthead_hook(); ?>
<div class="header_end">
<div class="header_bottom" >
<div id="masthead" >
<ul id="branding" role="banner" >
<li> <?php cryout_branding_hook();?></li>
<li> <?php cryout_header_widgets_hook(); ?></li>
</ul>
<div class="menu_header">
<nav role="navigation" #id="link-center">
<?php cryout_access_hook();?>
</nav><!-- #access -->
</div>
</div>
<br>
</div><!-- #masthead --><br>
<div style="clear:both;height:1px;width:1px;"> </div>
<div class="slideshow">
<?php
echo do_shortcode("[metaslider id=5]");
?>
</div>
</header><!-- #header -->
</div><!-- #header-full -->
<div id="main">
<div id="forbottom" >
<?php cryout_forbottom_hook(); ?>
<div style="clear:both;"> </div>
<?php cryout_breadcrumbs_hook();?>
問題
的CSS部分的菜單類:
.menu_header nav
{
float:left;
width: 714px;
height: 53px;
padding:0px;
list-style:none;
color: #d9d1c1;
margin-left: 95px;
}
.menu_header ul li
{
float:left;
margin-top: -30px;
}
.menu_header ul li a
{
float: left;
font-family: Arial, Helvetica, sans-serif;
text-decoration: none;
color: #f1ec4b;
font-size: 24px;
padding-left: 9px;
padding-right: 9px;
margin-left: 9px;
line-height: 30px;
border-bottom: 3px solid #f1ec4b;
}
.menu_header ul li a:hover
{
color: #fff;
}
.menu_header ul li:hover
{
color: #fff;
}
.menu_header ul li a p {
font-size: 24px;
color: #f1ec4b;
}
當我試圖刪除的鏈接被損壞的鏈接的邊界,我不知道究竟是什麼讓在邊境只有徘徊?
你可以請提供的URL,所以我可以直接看看源代碼? – June
@June這是網址「http://reload.fakragroup-eg.com/」 –
這裏是網址reload.fakragroup-eg.com –