July 26, 201214 yr Alright, I am currently developing a site,for a game project and I've ran into few CSS problems. One of which is when you zoom in the positioning of the div layers mess up. Also I am currently trying to position two character images on either side of the page. But when In do this, it messes the page up, just like then way it does when it zooms in. Site: http://db.tt/S32CxYPO Any help would be most appreciated.
July 26, 201214 yr Author Here you go, add wrong link. http://dl.dropbox.com/u/49665279/Arakion/index.html
July 27, 201214 yr To fix your issue, add "clear: both;" to the div identified as "sidebar_banner." It should read... #sidebar_banner { position: relative; height: 729px; width: 360px; float: right; background-image: url(../images/Side%20Banner.png); left: -20px; z-index: -1; clear: both; } Your issue had to do with the fact that you wanted two blocks that were floated to the right to appear vertically aligned. This is not the normal behavior of "float." Adding "clear: both;" to #sidebar_banner allows for this. Edited July 27, 201214 yr by Pete Prosper
July 27, 201214 yr Author Thanks, it looks like it is working now. Nut, how can I make the two images which are on either side, be layered under everything else on the page, I've tried everything to get it work and have came up empty handed, they need to be floating on the sides of the pages, so that they are always on the sides.. Thanks. Edited July 27, 201214 yr by Sean Hall
Create an account or sign in to comment