Hello All
I am currently creating a PHP Menu system for our site.
And I am having a problem which I cannot seem to solve.
The menu system is that like the one on www.mattel.com
It has a Level1 Menu and A Level2 Menu, where depending on which menu item you click on Level1, that corresponding Level2 Menu will show up.
I have the code, but the problem is that I have menu items in one <tr>, like Level1 in one TR and Level two in the next TR.
The problem is the Menu Items, each Menu item has a gap between the Next Menu Item, and also another gap between the two TRs, so a gap both vertically and horizontally. And that is for each and every one Menu Item, a gap between the next.
The Level2 TR is in a $tr variable, and I do a print $tr; which executes in an If statement.
Table Border is 0, cellpadding and cellspacing are also set to zero.
The PHP Code shows no whitespace code between each menu item, like nbsp; or anything else at all.
I checked the View Source and the returned HTML also shows nothing between each menu item that would produce whitespaces.
Also, each link has a weird border around them, even though border is set to zero.
Each Img Src is in an <a Href tag, however I took out all the hrefs and still the gaps were there, just without the weird borders.
I put them in TDs, out of TDs, still no change.
Can anyone point me into the right direction?
This is really frustrating.
Thank You all in advance for any help.
🙂