Hi, The best way would be to use session.getBrowserInfo().getClientProperties() to detect the browser version. Then with TransparentWebMarkupContainer attached to <html> you can generate the correct classes.
P.S. Who still uses IE 7, 8 & 9 ?! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Dec 19, 2016 at 2:20 PM, Entropy <blmulholl...@gmail.com> wrote: > Nabble hid the tags. Let's see if I can get it to show them: > > <!doctype html> > <! --[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> > <![endif]-- > > <! --[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> > <![endif]-- > > <! --[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-- > > <! --[if gt IE 8]><! --> > <html class="no-js" lang="en"> > <! --<![endif]--> > > -- > View this message in context: http://apache-wicket.1842946. > n4.nabble.com/Adding-comment-tags-outside-the-HTML-tags- > tp4676476p4676477.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >