Hi
I need to get a phone icon in the same place on different screen sizes on a website
I have tried using different css but at the mo I have currently have the following
I tried giving a id to the img itself with the following css but did not workCode:<div class="header-phone-icon"> <img src="images/pic-1.png" alt="" title=""> </div>
do I have to use different media query rules for the different screen sizes such as the followingCode:.header-phone-icon { float: left; position: relative; } #phone-icon { position: absolute; }
768px – 980px for iPad and other tablets
980px and upwards for desktop monitors
1200px and upwards for larger desktop monitors
Reason is because I have a client whose website I done but was fixed widths so was all centered but he wants it to cover the whole width of the screen
Thank you in advance
Kind regards
Ian



Reply With Quote


Bookmarks