1
Tango
Menu items in Sothink not limited to content (firefox)
  • 2005/2/3 9:21

  • Tango

  • Just popping in

  • Posts: 7

  • Since: 2005/1/23


Adding a horizontal DHTML-menu on site, and when opening in firefox the items are spread on the entire with, of the site.
Any good ideas of how to fix this problem?

Tango

2
novelidea
Re: Menu items in Sothink not limited to content (firefox)
  • 2005/4/25 19:49

  • novelidea

  • Just popping in

  • Posts: 38

  • Since: 2004/7/1 1


Far as I can tell, there is a conflict with the
table {width: 100%}
tag inside the style.css file

My theme needs that width stipulation in order to show up correctly. But I did find out that when I removed that
table {width: 100%}
tag, the menu showed up correctly.

But, as I said, the theme I'm using needs that tag in order to show up correctly. But for those who can get away with deleting that 100% width, your DHTML menu should work hopefully.

Ok. If you're using the Sothink DHTML menu, I think I may have found a possible solution:

In Sothink DHTML menu code, one of the css variables is
.st_tbcss

So, what I did was add the following code to my XOOPS theme's style.css file:

.st_tbcss{border:none;padding:0px;margin:0px; width: 140px;}

Now, I set my width to 140px just testing to see if it worked. And it did. I think it just needed a width value just to keep it from displaying at 100%. So, I guess you can test it with another width value, but for now, I'm leaving mine at 140px.

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!