Harsha M V
Harsha M V

Reputation: 54949

problem with getting z-index to work

i am trying to create a sub navigation which is followed by seperator line (div with a bottom border) which acts as a visual cue.

but the line is appearing below the menu items. not sure how to get it right

http://jsbin.com/ijewi4

Upvotes: 0

Views: 92

Answers (2)

bangbambang
bangbambang

Reputation: 343

not sure about what you want to achieve but if you want to make the div "sit exactly at the bottom of the button tabs":

http://jsbin.com/ijewi4/3

Upvotes: 1

MJC
MJC

Reputation: 3939

I don't really like the hr element, i always use a div with a border-bottom.

That may work for you too.

Upvotes: 1

Related Questions