View Full Version : help with css for this script

06-07-2014, 06:48 PM

want to change tabs to buttons.I have that working.
But the buttons are only as big as the text on them.I want to use buttons that are all the same width(large enough to accomodate the biggest word hopefully)

Here is the working site:
here is txt file of the same file:

I have tried to add the width to each part of the 'tablist' but it does not work.

Any help would be appreciated.css alsways give me fits lol

06-08-2014, 02:59 AM
Get rid of the br tags between the li tags, add this to the stylesheet as shown:

#tablist li a:link, #tablist li a:visited{
color: white;
display: block;
width: 175px;

You can adjust the width as desired. Or make it 100% and set a specific pixel width for either the li tags or the ul tag. There are actually quite a number of possibilities. Even more than I've already mentioned.

06-08-2014, 10:14 PM
Thanks John,I thought it might be something along that line but I never got it to work as I was trying .