Re: How do others include their browser specific styles in Wicket?

2007-11-27 Thread Sjoerd Lohuis
Hi, We get the client info the same way, but how do you prevent having to manually do (for example): page.add(HeaderContributor.forCss(_css/style.css, screen)); if (clientProperties.isBrowserInternetExplorer()) {

Re: How do others include their browser specific styles in Wicket?

2007-11-27 Thread Eelco Hillenius
Hi, We get the client info the same way, but how do you prevent having to manually do (for example): page.add(HeaderContributor.forCss(_css/style.css, screen)); if (clientProperties.isBrowserInternetExplorer()) {

Re: How do others include their browser specific styles in Wicket?

2007-11-12 Thread Eelco Hillenius
On Nov 11, 2007 2:24 AM, Johan Compagner [EMAIL PROTECTED] wrote: Session.getClientInfo() ? See also the HelloBrowser example (http://wicketstuff.org/wicket13/hellobrowser/). Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: How do others include their browser specific styles in Wicket?

2007-11-12 Thread Nino Saturnino Martinez Vazquez Wael
We dont, we have one css for them all. Thats. IE 6,7 FF 1.5,2 Safari for us. regards Nino Sjoerd Lohuis wrote: There are a few ways to include your browser specific styles in a project: - CSS hacks to target specific browsers - IE Conditional Comments - Server-side browsercheck I'm not

Re: How do others include their browser specific styles in Wicket?

2007-11-11 Thread Johan Compagner
Session.getClientInfo() ? On 11/6/07, Sjoerd Lohuis [EMAIL PROTECTED] wrote: There are a few ways to include your browser specific styles in a project: - CSS hacks to target specific browsers - IE Conditional Comments - Server-side browsercheck I'm not asking which way is better or the

How do others include their browser specific styles in Wicket?

2007-11-06 Thread Sjoerd Lohuis
There are a few ways to include your browser specific styles in a project: - CSS hacks to target specific browsers - IE Conditional Comments - Server-side browsercheck I'm not asking which way is better or the best. I'm asking who's using one of these methods and what is the best way to