I've got this standard xhtml menu. Everything is made in divs, and styled with CSS 2.0. I only style on classes, so I know that's not the problem.
when I put the source (plain xhtml) into a usercontrol, and load the macro , the menu looks fine. But when I put the exact same source into an XSLT and load that macro instead, something goes wrong, and I have absolutely no clue why ...
Since I want to build the menu in XSLT rather than using a usercontrol for the purpos, I need some kind of fix for it ...
what's wrong here? (XSLT vs. Usercontrol menu)
I've got this standard xhtml menu. Everything is made in divs, and styled with CSS 2.0. I only style on classes, so I know that's not the problem.
when I put the source (plain xhtml) into a usercontrol, and load the macro , the menu looks fine. But when I put the exact same source into an XSLT and load that macro instead, something goes wrong, and I have absolutely no clue why ...
Since I want to build the menu in XSLT rather than using a usercontrol for the purpos, I need some kind of fix for it ...
http://img168.imageshack.us/img168/8536/usercontrolmenu.jpg
The above one is the usercontrol...
This is what happens when I put the same sourcekode into an xslt ....
http://img168.imageshack.us/img168/4172/xslt.jpg
Any ideas??
Regards,
Martin
Example of drawing one menu "tab".
[code]
Home
[/code]
Set the output of the xslt-file to html instead of xml. That probably solves your problem.
HTH,
PeterD
Arh :D
It worked!!!
Thanks! :D
is working on a reply...