Exclude one element from the css on my website for Iphone.

Discussion in 'Web Design and Development' started by MSTRKRFT, Mar 27, 2010.

  1. MSTRKRFT macrumors regular

    Joined:
    Jan 17, 2009
    #1
    I would like to exclude one element from website for the Iphone because it doesn't display correctly. And really serves no purpose to an Iphone user as oppose to a Computer. I have a bottom fade on it. Here is my website in case you were wondering and wanted to help by checking it out.


    Thanks
     
  2. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #2
    I'm not sure what part of the page you're wanting to hide from iPhones. Is this something you're wanting to do with CSS or JavaScript? Anyways, a search would be, css detect iphone, which brings up this helpful page that shows different ways to detect iPhone users.
     
  3. MSTRKRFT thread starter macrumors regular

    Joined:
    Jan 17, 2009
    #3
    The fade that is at the bottom of the page.

    Spefically I would not like to write a whole new css just exclude that bottom fade.
     
  4. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #4
    The info int the link I provided will help you do that.
     
  5. MSTRKRFT thread starter macrumors regular

    Joined:
    Jan 17, 2009
    #5
    Thanks for anyone that is reading this later the very last one works the best and is the easiest just apply it to the end of your css.
     

Share This Page