RE: [WSG] Detecting Mobile user agent - what methods work best?

2011-01-06 Thread Mike Kear
David, this is a variation on the logic that freed us all from the worst of the IE quirks way back then. IF you remember back then, most of us would build our sites for IE5, the drive ourselves crazy trying to put in hacks for all the other browsers. (well **I** did anyway!) That was until som

Re: [WSG] Detecting Mobile user agent - what methods work best?

2011-01-06 Thread David Hucklesby
On 1/6/11 8:10 PM, Mike Kear wrote: I have to convert a client site to enable phone users to use the site and I was wondering what is the best method to detect the mobile user agent and switch the css sheet? As far as I have seen, there are a few ways to do this - which is best? (or maybe the w

Re: [WSG] Detecting Mobile user agent - what methods work best?

2011-01-06 Thread Grant Bailey
Hi Mike, It's best to detect from the server side in my opinion. If you have administrator rights to the server you could use something like the Apache Mobile Filter (http://www.apachemobilefilter.org/Apache_Mobile_Filter/Welcome.php). Regards, Grant Bailey On 7/01/2011 3:10 PM, Mike Kear

Re: [WSG] IE "hasLayout" - the long and short of it

2011-01-06 Thread David Hucklesby
Re: On 1/6/11 5:05 PM, Jon Reece wrote: Hi David, Sorry, I was in a hurry and didn't read all that I should have, also didn't notice that removing hasLayout also removed the filter. Maybe you want to try PIE (css3pie.com)? - Jon That had

[WSG] Detecting Mobile user agent - what methods work best?

2011-01-06 Thread Mike Kear
I have to convert a client site to enable phone users to use the site and I was wondering what is the best method to detect the mobile user agent and switch the css sheet? As far as I have seen, there are a few ways to do this - which is best? (or maybe the way to put it is 'least bad') [A]

Re: [WSG] IE "hasLayout" - the long and short of it

2011-01-06 Thread Jon Reece
Hi David, Sorry, I was in a hurry and didn't read all that I should have, also didn't notice that removing hasLayout also removed the filter. Maybe you want to try PIE (css3pie.com)? - Jon On Thu, Jan 6, 2011 at 7:50 PM, Jon Reece wrote: > Hi David, > > Removing the min-height from the follo

Re: [WSG] IE "hasLayout" - the long and short of it

2011-01-06 Thread Jon Reece
Hi David, Removing the min-height from the following rule has an effect in IE7, didn't test in IE6: .ie6 .vcalendar h3, .ie7 .vcalendar h3 { > filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#ff', > EndColorStr='#ee'); > /*min-height: 0;*/ > } Min-height triggers hasLa

Re: [WSG] IE "hasLayout" - the long and short of it

2011-01-06 Thread David Hucklesby
On 1/6/11 9:43 AM, Thierry Koblentz wrote: Hi David, It appears to be the existence of "hasLayout" on the .vcalendar that causes the problem (due to it being floated...) I don't think this is the issue per se. Imho, the problem is that this float is width-less. Give it with a width and things

RE: [WSG] IE "hasLayout" - the long and short of it

2011-01-06 Thread Thierry Koblentz
Hi David, > It appears to be the existence of "hasLayout" on the .vcalendar that > causes the problem (due to it being floated...) I don't think this is the issue per se. Imho, the problem is that this float is width-less. Give it with a width and things should work the way you want. -- Regards

Re: [WSG] IE "hasLayout" - the long and short of it

2011-01-06 Thread David Hucklesby
On 1/5/11 11:12 PM, "G.Sørtun" wrote: On 06.01.2011 07:21, David Hucklesby wrote: Here's my attempt to put a gradient behind some headings. To get Microsoft's gradient filter to work, I must give the headers "layout." This causes the headings to expand in width in IE6, and to shrink in IE7:

RE: [WSG] IE "hasLayout" - the long and short of it

2011-01-06 Thread Birendra
Hi David As I seen your css, I try to add this value in your css "Display: Block" And then see is it work or not. Thanks Regards Birendra -Original Message- From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On Behalf Of David Hucklesby Sent: Thursday, January 06, 2

[WSG] Re: WSG Digest

2011-01-06 Thread Darren Barden
What exactly are you wanting to achieve? Where have you seen this effect before? Give us an example please. On 7 January 2011 03:26, wrote: > * > WEB STANDARDS GROUP MAIL LIST DIGEST > ***