Skip to content
Advertisement

How to apply float property for tabs?

I have designed a html tabs. I applied float property to it. The problem is when I minimize browser tabs are not visible properly. Here the my fiddle:

http://jsfiddle.net/raghavendram040/vn1Leuq3/

and JavaScript is copied from Internet so can any one tell how this JavaScript works and applying float property? It really helps me. Here is JavaScript code:

JavaScript

Advertisement

Answer

Supress from nav and ul

JavaScript

Add

JavaScript

To your ul element. That will prevent your tab links to disapear. If you want them to stay in a line, you will need to set to your ul element min-width property like this:

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement