dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: Menu Problem

  1. #1
    Join Date
    May 2006
    Posts
    3

    Menu Problem

    This could be a problem completely unrelated, but I am having a problem with my CSS menu. It is horizontal, and stretches from one end to the other (just barely enough room). When the browser window is not at full screen, or I have the sidebar on my browser open, instead of creating a horizontal scroll bar, it moves the side of my menu to the next line creating an ugly effect.

    Here's a pretty raw version of the navigation. Try opening up your sidebar or resizing the browser window.

    http://www.open-initiative.com/xenu/

    Is there any way I can get it so a horizontal scroll bar appears when the browser window is too small?

  2. #2
    I believe you can do javascript to check for screen resolution and then use document.write to put in the code depending on whether it should be vertical or horizontal.

    You could just set a width on the table instead of using 100%. That way, if a browser window is too small, it will extend off the the right and they will have to scroll over.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles