Old 15-09-2006, 05:41   #1 (permalink)
mike_m
Work faster microphone ..
 
mike_m's Avatar
 
Join Date: Feb 2003
Location: Cambridge, UK
Posts: 1,706
Handheld Stylesheets.... AARRGGHH!

doing a handheld stylesheet for this site:

http://tinyurl.com/efsht

And of course it's all gone a bit wrong - Testing it on the small screen rendering /Style sheets selector facilities in firefox and opera, I get the results I'm after. However I tested it on a bunch of different PDA's and mobile devices (pocket PC, various Symbian OS's etc.) and none of them seem to be taking a blind bit of notice of the handheld stylesheet.

Is it because I linked to the stylesheet rather than importing it? I thought Linking was supposed to catch more devices..

This is the first time I've dealt with a handheld specific stylesheet, so maybe it's something blatantly obvious I'm missing.. ?

On a bit of a tight deadline with this, so any knowledge would be gratefully recieved.

Sigh.
  Reply With Quote
Old 15-09-2006, 05:52   #2 (permalink)
gray
i still want paying
 
gray's Avatar
 
Join Date: Oct 2003
Location: newcastle, uk
Posts: 4,728
a lot of handhelds refer to themselves as screen rather than a handheld device
  Reply With Quote
Old 15-09-2006, 07:10   #3 (permalink)
mike_m
Work faster microphone ..
 
mike_m's Avatar
 
Join Date: Feb 2003
Location: Cambridge, UK
Posts: 1,706
Aye, told the client that if the device doesn't recognise handheld stylesheets, then it isn't covered.

Just got some success on the second browser on my phone by using @import and link together, but I don't have access to PDA's untill tonight - would anyone be so kind as to look up

http://tinyurl.com/efsht

on thier phone browser (or pda if you've got one), and tell me if the results are anything at all like the atattched image?
Attached Thumbnails
handheld-stylesheets-aarrgghh-qeiicc.png  
  Reply With Quote
Old 15-09-2006, 07:15   #4 (permalink)
gray
i still want paying
 
gray's Avatar
 
Join Date: Oct 2003
Location: newcastle, uk
Posts: 4,728
nope i get the full version, samsung e900
  Reply With Quote
Old 15-09-2006, 07:22   #5 (permalink)
mike_m
Work faster microphone ..
 
mike_m's Avatar
 
Join Date: Feb 2003
Location: Cambridge, UK
Posts: 1,706
is it the full version, but working, or the full "all over the place" version?
  Reply With Quote
Old 15-09-2006, 08:29   #6 (permalink)
stickmus
hmmm...
 
stickmus's Avatar
 
Join Date: Jan 2004
Location: Yorkuk
Posts: 2,130
What about a different url? mob.domain.com? Or adding it dynamically via browser string in php/whatever
__________________
George Smith - a vain attempt to get higher on google for my name

  Reply With Quote
Old 15-09-2006, 08:39   #7 (permalink)
mike_m
Work faster microphone ..
 
mike_m's Avatar
 
Join Date: Feb 2003
Location: Cambridge, UK
Posts: 1,706
That's a whole other job... The agreement on this was to get it working in any device that recognises the handheld media type. Going to stick some JS in there to detect a resolution of under 640x480, but most handhelds don't have JavaScript enabled anyway.

Fucking minefield....

no-one else got a browser on thier phone? Go on, gis' a hand, and have a quick butchers
  Reply With Quote
Old 15-09-2006, 09:20   #8 (permalink)
gray
i still want paying
 
gray's Avatar
 
Join Date: Oct 2003
Location: newcastle, uk
Posts: 4,728
think its full working version on mine
  Reply With Quote
Old 15-09-2006, 09:35   #9 (permalink)
mike_m
Work faster microphone ..
 
mike_m's Avatar
 
Join Date: Feb 2003
Location: Cambridge, UK
Posts: 1,706
That's cool, Had a someone check it on a variety of devices and it seems fine on most of them apart from pocket PC which seems to think it's a screen rather than a handheld, even though it doesn't render correctly. Nowt I can do about that I guess.

Cheers for the help
  Reply With Quote
Old 15-09-2006, 09:49   #10 (permalink)
mike_m
Work faster microphone ..
 
mike_m's Avatar
 
Join Date: Feb 2003
Location: Cambridge, UK
Posts: 1,706
Quote:
kinda stuck with something that works half the time.

Basically, though I did make a point of this before I started. Just about done with this then.

Severe need for a pint now..
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8