WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] CSS category widget border problem (3 posts)

  1. gbaka
    Member
    Posted 5 years ago #

    li.cat-item a{
    		position: relative;
    font-family: Verdana, sans-serif;
    	width: 322px;
    	height: 25px;
    	margin-left:-1px;
    	margin-top:0;
    	margin-right:-1px;
    	margin-bottom:-1px;
    	font-size:13px;
    
    		text-align: left;
    	text-decoration: none;
    border-top:1px solid #E5E5E5;
    }

    I'm using this code so that makes the whole category link and empty space be clickable because of my hover code but the border won't go all the way to the end and is only ending by the last letter of the category, and it seems height and width doesn't affect it so how would i be able to solve this?

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    Try adding display:block;

  3. gbaka
    Member
    Posted 5 years ago #

    thank you so much your the best :D

Topic Closed

This topic has been closed to new replies.

About this Topic