[CSS] Border Help [CSS]

Trinix

Member
Feb 1, 2013
56
5
So when I have something like this:
Code:
.object {
border: 1px solid black;
border-bottom: 1px solid white;
}
this happens:
xetBnmf.png

I know why it happens but I want the black to go to the bottom
 

Weasel

👄 I'd intercept me
Nov 25, 2011
4,132
2,456
Code:
-webkit-border-bottom-right-radius: 1px;
-webkit-border-bottom-left-radius: 1px;
-moz-border-radius-bottomright: 1px;
-moz-border-radius-bottomleft: 1px;
border-bottom-right-radius: 1px;
border-bottom-left-radius: 1px;
 

Trinix

Member
Feb 1, 2013
56
5
What does it show now? Still the same? And maybe you want to show your other CSS to, because I highly doubt this has nothing to do with the class you are giving.
Code:
.navigation li.active,.navigation li.active:hover {
color:#000;
background:#FFF;
border-color: black;
border-bottom:2px solid #FFF;
margin-bottom:-2px;
}

Basically, I'm wanting the black border to run down to the bottom, and the white border to come inbetween the black ones, like this:
9YUuG2p.png
 

Weasel

👄 I'd intercept me
Nov 25, 2011
4,132
2,456
.navigation li.active,.navigation li.active:hover {
color:#000;
background:#FFF;
border-style: solid;
border-bottom:2px solid #FFF;
margin-bottom:-2px;
}
 

Users who are viewing this thread

Top