View Full Version : Tabcontent tab width question

03-12-2009, 09:08 PM


I would like to spread the tabs across 100%. For example, if I have 4 tabs, I would like to make each ones width equal 25%. I have tried to do this with CSS, but it doesn't seem to work. Anyone know how to make it happen?

Here is a link to a page with just the tab content box : http://beta.lpb.org/index.php/testarea/

Thanks, in advance!

03-13-2009, 02:39 AM
In CSS, adding a width to inline elements such as SPAN or A will have no effect. What you can do is either use DIVs that are floated (ie: float: left) to create each tab, or A elements with display:block and float:left. There should be plenty of examples on the web on how to do this...