well, if you put in the class="error" by deafult, of course it will show the div. ;) Delete from your markup the class="error", then see when your validation fails, what css class will be generated via wicket, and override that from your css file.
Peter 2009-11-28 20:46 keltezéssel, Николай Кучумов írta: > Hello, Major. > > It looks like this: > > <body> > <wicket:extend> > > <div wicket:id="feedback" class="error"> > </div> > > <br/><br/><br/> > > <form wicket:id="form"> > > .... > </form> > </wicket:extend> > </body> > > and the CSS is: > > .error > { > > width: auto; > margin-left: 25%; > margin-right: 25%; > > border: 1px solid #fc908c; > > background-image: url('../pictures/icons/error_64x64.png'); > background-color: #ffeceb; > } > > You can view the bookmark on the link provided above (vostrets.ru/register/) > - just open the page in Firefox, right click and "View page source". --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org