User Profile

Collapse

Profile Sidebar

Collapse
barrybee
barrybee
Last Activity: Nov 5 '08, 09:25 PM
Joined: Oct 31 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Hi Nathj
    Thanks, thats sort of what I've been trying but the order might not have been right.
    Thanks again I will try again tomorrow.
    Barry
    See more | Go to post

    Leave a comment:


  • Hi, thanks for the very speedy replies.
    I have read a lot on the web and in some books and they do seem suggest that media types could be what I need, but nothing I have tried seems to work. I can still get the correct appearance of my target page when viewed on a phone or a PC but only if I change to the correct style sheet manually.

    Natj, I just love it when someone says, 'Can't you simply link in a media type specific style...
    See more | Go to post

    Leave a comment:


  • How to detect if mobile phone is viewing php page or PC

    PHP version 4.027
    I want to change between style sheets when page is viewed on a mobile phone or a PC.

    The pages looks fine on both when I manually set a key in the script.
    My problem is how to determine if its viewed on a phone or PC.

    I have used $_SERVER['HTTP_USER_AGEN T']; to show the browser details
    RESULTS from php pages.

    HTC Mobile phone;
    HTC_Pro_T7272 Opera/9.50 (windows...
    See more | Go to post
No activity results to display
Show More
Working...