-
Tabcontent tab width question
Tabcontent
http://www.dynamicdrive.com/dynamici...tabcontent.htm
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!
Last edited by blaiseymae; 03-13-2009 at 12:13 AM.
Reason: adding a link
-
-
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...
DD Admin
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks