I have a tabbed panel with 6 tabs. I'd like to set the CSS so that the width of each tab changes to auto-fit the text in that tab, so tabs with long sentences are wider, & tabs with shorter sentences are slimmer. I'd also like the maximum width of the panel to be 900px.
This is my CSS so far:
#TabbedPanels2 .TabbedPanelsContentGroup {
margin-left:auto;
margin-right:auto;
width:70%;
margin-top:105px;
max-width:900px;
}
The issue right now is that all 6 of the tabs always stay at 900px, instead of auto-adjusting down to fit the text. You can see the results here: www.shellshockeddoc.com Specifically with the tabs for "Watch" & "Screenings"
Thanks a lot in advance!