• and when I change the height or add padding the text stays aligned at the bottom.

    Any help?

    HTML/PHP

    <div id="topnav">
    <div id="lefttopnav"></div>
    <div id="topnavrepeat">
    <ul>
    <?php wp_list_pages('title_li='); ?>
    </ul>); ?>

    This tags are closed in future code.

    CSS

    #topnav {
    	margin:0px;
    	padding:0px;
    	width:946px;
    	height:88px;
    }
    #topnavrepeat {
    	height:88px;
    	background:url(images/topnavRepeat.jpg);
    	background-repeat:repeat-x;
    	width:876px;
    	float:left;
    }
    #topnavrepeat ul {
    	float:right;
    	width:500px;
    	padding-top:49px;
    }
    #topnavrepeat li {
    	display:inline;
    	list-style-image:none;
    }
    #topnavrepeat a {
    	color:#000;
    	padding-left:25px;
    	padding-right:25px;
    	margin-top:53px;
    	text-decoration:none;
    }
    #topnavrepeat a:hover {
    	background-color:#00b8ff;
    	background:url(images/linkbg.jpg);
    	background-repeat:repeat-x;
    	color:#fff;
    }

    I do not know what is wrong

    Any help on this one? Thnx.

Viewing 1 replies (of 1 total)
  • What are you trying to change? Can you link to a page that shows the element — looking at just code almost never works with CSS issues.

Viewing 1 replies (of 1 total)
  • The topic ‘Li,a Height stuck at 23 px’ is closed to new replies.