Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:10
Menu in table cell always stretches to 100%
Poster: pooh_
Dated: Saturday September 11 2004 - 11:38:51 BST
Hi,
I downloaded the table example menu where there is a menu in the centre. This page works fine. But when I copy and paste the entire code into an existing home page, the menu stretches to 100% of the table width, including the submenu's.
It is an 100% copy of the original sample page, pasted into a xoops theme index.php
Anybody an idea pls?
TIA
Poster: Andy
Dated: Saturday September 11 2004 - 12:05:07 BST
Hi,
It's more than likely a CSS problem.
The menu uses tables, divs, td's, tr's and a's to build itself. If you declare any global properties for these HTML objects they will affect the menu.
See if you've got 100% declared for TABLE{} in your CSS
-- Andy
Poster: pooh_
Dated: Saturday September 11 2004 - 12:37:06 BST
Thanks for the quick reply...
10 bonus points, you win the car, Jackpot!!
That was it
Many thanks
same problem
Poster: surfman
Dated: Tuesday May 16 2006 - 20:00:40 BST
I would like to use the menu to in my XOOPS-installation.
In the style.css the attributes for table are:
Code:
table
{
width:100%;
font-size: 13px;
background-color: #FFFFFF;
}
{
width:100%;
font-size: 13px;
background-color: #FFFFFF;
}
Is there a quick solution for the menu not to stretch to 100%?
When I change the CSS the whole theme is damaged.