twilitegxa Posted September 9, 2010 Share Posted September 9, 2010 What is the best way to ensure your images line up as you expect them to when viewed in different sized browsers? Can someone please tell me? Do I need a specific setting, or use a specific unit? Do you need to see an example to answer my question? Please answer :-) Quote Link to comment https://forums.phpfreaks.com/topic/212945-css-across-different-sized-browsers/ Share on other sites More sharing options...
haku Posted September 9, 2010 Share Posted September 9, 2010 Rule #1: Don't use absolute positioning. Quote Link to comment https://forums.phpfreaks.com/topic/212945-css-across-different-sized-browsers/#findComment-1109097 Share on other sites More sharing options...
twilitegxa Posted September 9, 2010 Author Share Posted September 9, 2010 I use absolute positioning when I need to place an image on top of another image or div. Is there another way? Quote Link to comment https://forums.phpfreaks.com/topic/212945-css-across-different-sized-browsers/#findComment-1109100 Share on other sites More sharing options...
haku Posted September 12, 2010 Share Posted September 12, 2010 It's fine to do that, if you are doing it right. Quote Link to comment https://forums.phpfreaks.com/topic/212945-css-across-different-sized-browsers/#findComment-1110227 Share on other sites More sharing options...
twilitegxa Posted November 6, 2010 Author Share Posted November 6, 2010 I have been using relative positioning mostly now. Will that provide problems with the positioning on different browser sizes? Quote Link to comment https://forums.phpfreaks.com/topic/212945-css-across-different-sized-browsers/#findComment-1131151 Share on other sites More sharing options...
haku Posted November 8, 2010 Share Posted November 8, 2010 Sometimes. It's best to stay away from it overall. However, as you said, sometimes you need to position one element on top of another. But without any specific code, it's impossible to give you anything other than a vague answer ("sometimes"). Quote Link to comment https://forums.phpfreaks.com/topic/212945-css-across-different-sized-browsers/#findComment-1131618 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.