Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

Any way to have div fixed position horizontally only



4:14 pm on Sep 21, 2010 (gmt 0)

5+ Year Member

My title probably wasn't the greatest, but here is my question. I have a page that has a horizontally scrolling list of images. It uses mootools' fx.scroll function to slide the images left/right. Underneath the images I have a div of content that includes a couple of links, copyright, etc..

I currently have this div fixed so that it stays on the page as all other content is slid off to the left/right. This causes problems, however, if someone is using a smaller resolution as the content in this div can be cut off with no way of seeing it. Is there a way that I can fix the content only horizontally while still allowing it to move up and down?


9:10 pm on Sep 21, 2010 (gmt 0)

I would try to design the page to the minimum browser window size expected to be used and go from there.

Choosing Dimensions for Your Web Page Layout:

How to create flexible sites quickly using standards like CSS and XHTML: [ibm.com...]
In Search of the Holy Grail: [alistapart.com...]

Care With Font Size: [w3.org...]

Most people do not like to have to scroll horizontally and there are so many better tools than mootools to have images scroll left/right. Properly done, you would have to use the extra coding to fix content to scroll function.

Featured Threads

Hot Threads This Week

Hot Threads This Month