:eek: How to hide some content on mobile devices

Discussion in 'HTML & Website Design' started by winsoar, Dec 21, 2008.

  1. #1
    How do I hide certain content if people are looking at the web site on their mobile phone or PDA? (even those with full web browsers)?

    Is there some code that can be put before and after that section of HTML so that it is not rendered by mobile devices or do I have to do it using some code?

    If it needs code I'd prefer it in JavaScript because I've got a lot of incoming links to the page and don't want to have to change the .html extension to anything else.

    Best regards.
     
    winsoar, Dec 21, 2008 IP
  2. dp-user-1

    dp-user-1 Well-Known Member

    Messages:
    794
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    110
  3. winsoar

    winsoar Well-Known Member

    Messages:
    1,363
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    108
    #3
    thank you.
     
    winsoar, Dec 22, 2008 IP