Friday, January 21, 2011

HTML is a roller coaster

Yesterday, one of my colleague was struggling to bring his menus and submenus to the correct look. Struts was used for the presentation layer.

He approached me for help after spending hours on the problem, when I looked into the code he was using

His code was looking like

<li<logic:equal name="xxx" value="0">class="on"</logic:equal>

adding a space before the logic:equal tag did the fix. HTML could be the simplest, sometimes the TOUGHEST. :-)

I'm Back

Planning to blog again after a very long time...