Contents tagged with CSS

  • Horizontal Submenu with Horizontal Menu using CSS Friendly Menu Control Adapter in C#

    Download source code - 124.35 KB

    What Problem Does This Solution Solve?

    By the built in ASP.NET 2.0 or 3.5 menu control is rendered as <table> elements that is difficult to manage by CSS and JavaScript. One can render the menu control output as <ul> <li> </u> HTML elements instead of tables using CSS Menu Adapter Control that is easier to emit 100% pure CSS based rendering output.

    In another words, for any Data list or in our case Menu Control, if you notice the HTML code by viewing the source of your page what ASP.NET runtime engine generates, you may see a Table based layout, which is of course really difficult to design and not considered a good practice in … more