View Full Version : is there a way to get rid of the border bottom by css?

07-23-2011, 08:54 AM

how to get rid of the border bottom which under
test text in the li when the mouse hover on the
test text by css?

the html :

<div class="rank">
<li class="tab1 active">test</li>
<li class="tab2">one</li>
<div class="content">....</div>
my style(it's doesn't get rid of the bottom under test text):

rank ul li{
border:1px solid #D5D5D5;

border-top:1px solid #D5D5D5;
ps: why when i use overflow:hidden to rank div, it can prevent the float to the content div?

07-23-2011, 10:12 AM
just about to test my theory, but would that not be settting the li to no-underline ?

do you have the rest of the code as there are parts missing for to be able to test this out properly.

ie.. css for tab1, tab2

as the code you have provided does not show the same as in your screen shot.


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum