homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Gold Sponsor 2015!
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

Any way to have div fixed position horizontally only

5+ Year Member

Msg#: 4204847 posted 4:14 pm on Sep 21, 2010 (gmt 0)

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?



Msg#: 4204847 posted 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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved