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 :-) 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. 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? 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. 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? 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"). 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
Archived
This topic is now archived and is closed to further replies.