slaterino Posted January 3, 2010 Share Posted January 3, 2010 I have a site that uses a css-based image preview tool so that when you hover over an image the full-size image is displayed on the page. However I have one problem with this. This is that sometimes the image is too big for the page and so creates some white space at the bottom of the page. Is there anyway to set a definite size for the page so that instead of the image making the page longer, the page would just stop and possible the image would be cut slightly? Quote Link to comment https://forums.phpfreaks.com/topic/187018-preventing-blank-space-at-bottom-of-page/ Share on other sites More sharing options...
RussellReal Posted January 3, 2010 Share Posted January 3, 2010 yeah.. put the image inside of a div and give it overflow: hidden; Quote Link to comment https://forums.phpfreaks.com/topic/187018-preventing-blank-space-at-bottom-of-page/#findComment-987644 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.