scroll - How to allow horizontal overflow in CSS? -
i built rather minimal personal webpage design work , want each project shown long horizontal scroll. i'd been controlling width of each page pixel , works browsers, noticed when open page on phone, last image jumps next line. wondering how compensate this, if there easy fix.
sample link : http://gh-he.com/projects/sutro.html
if open browser, fine. open phone, jumps. no means programmer sort of fumbled way through got, code quite messy compared used to.
set overflow-x
property scroll
on container of images.
.images-container{ overflow-x: scroll; }
if want text stay in place , have images scroll, put img
in container , set overflow-x
property on images container only.
Comments
Post a Comment