html - Why do my image links not work on iphones and ipads? -
aware can't have link rollovers / hovering on ipads , iphones have tried changing rollover backgrounds clickable images iphones , ipads links still don't work on them. can see why these won't work. here css used target ipads:
/* ipad [portrait + landscape] */ @media screen , (min-device-width: 768px) , (max-device-width: 1024px) { div.website_bck img { display: block!important; width: 100%!important; } div#hi_hats, div#marbella, div#bcl, div#chinahouse, div#suponix, div#pa, div#upwardmb, div#salon, div#fasbet, div#wrayent, div#box, div#bcl_logo, div#greenseeds, div#lilyrose, div#stationery_suponix, div#stationery_bcl, div#stationery_charmel, div#stationery_box, div#adverts_digital_betfred, div#adverts_digital_itvbets, div#adverts_digital_bingo, div#adverts_digital_casino, div#adverts_digital_freebet, div#adverts_print_betfred1, div#adverts_print_betfred2, div#adverts_print_bingo, div#adverts_print_hi_hats, div#adverts_print_fasbet, div#other_betfred_presspack, div#other_betfred_survey, div#other_fasbet_stand, div#other_betfred_scratchcards, div#other_betfred_paysafe, div#other_hi_hats_cd, div#other_fasbet_demo, div#other_betfred_bingo_game { background-image: none; } }
here css code used target iphones same above uses different media query:
/* iphone [portrait + landscape] */ @media screen , (max-device-width: 480px) { div.website_bck img { display: block; width: 100%!important; } div#hi_hats, div#marbella, div#bcl, div#chinahouse, div#suponix, div#pa, div#upwardmb, div#salon, div#fasbet, div#wrayent, div#box, div#bcl_logo, div#greenseeds, div#lilyrose, div#stationery_suponix, div#stationery_bcl, div#stationery_charmel, div#stationery_box, div#adverts_digital_betfred, div#adverts_digital_itvbets, div#adverts_digital_bingo, div#adverts_digital_casino, div#adverts_digital_freebet, div#adverts_print_betfred1, div#adverts_print_betfred2, div#adverts_print_bingo, div#adverts_print_hi_hats, div#adverts_print_fasbet, div#other_betfred_presspack, div#other_betfred_survey, div#other_fasbet_stand, div#other_betfred_scratchcards, div#other_betfred_paysafe, div#other_hi_hats_cd, div#other_fasbet_demo, div#other_betfred_bingo_game { background-image: none; } }
the website page http://www.i4dsign.co.uk/portfolio.html#portfolio_nav . here example of html used each link:
<div class="website_bck left" id="hi_hats"> <a href="portfolio_hi_hats.html"> <img src="images/website_hihats.jpg" alt="the hi-hats: wedding , function band"> </a> <div class="rollover"> <div class="mask"> <h2>the hi-hats</h2> <h3>wedding & function band</h3> <a href="portfolio_hi_hats.html">more information</a> </div> </div> </div>
Comments
Post a Comment