You can give the em tag custom style by doing something like: span.menu em { font-style: normal; }
But I would go for Frank's solution. Regards, Erik. [EMAIL PROTECTED] schreef: > Hallo there, > > I would like to change the output class of the <em> element for autoenabled > links. Currently I use the following code to create a link: > > Link link = new BookmarkablePageLink("link", pageClass).setAutoEnable(true); > > After rendering such a link I get > > <a href="/portal" class="menu">Sub 1</a> > > and for enabled state: > > <span class="menu"><em>Sub 2</em></span> > > > Does someone experienced know how to disable the em tags or how to add a > custom css style to them? One of the following possiblities would be fine as > output: > > <span class="menu"><em>Sub 2</em></span> > > or > > <span class="menu">Sub 2</span> > > Thank you for any assistance to solve my problem, > > Maciej A. Bednarz > -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user