twitter/bootstrap — Issue #922: Selector .tabs in a div wrapper - not in an ul - Reasonable advantages
Author: playr1983g
Created: 2012-01-07 23:26:04+00:00
State: open

I use a component based framework which for example has a navigation component that produces a standard ul list. I can place my navigation list on different positions (like dropdown header navigation - or a simple navigation list on the side)
Preferably i want the responsibility of setting the style and behaviour in the template itself. In my opinion there are advantages when there is a wrapper which holds the .tabs class attribute instead of placing the ".tabs" in the ul (the navigation component html code) itself.
So for example css code like

.tabs .dropdown {
}

would only apply to navigation components placed between a wrapper element with the class ".tabs"
Otherwise the navigation list would behave normally.

#defined by template

Home

Dropdown

Secondary link

Something else here

Something else here

#defined by template