Web Analytics Made Easy -
StatCounter elements off screen without a scroll bar? - CodingForum

Announcement

Collapse
No announcement yet.

elements off screen without a scroll bar?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • elements off screen without a scroll bar?

    is it possible to position an element off the screen without causing a scroll bar to appear?

    thanks.

  • #2
    you can hide the scrollbars

    <body style="overflow:hidden">
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]

    Comment


    • #3
      right, but it's just this content i'd like to behave like this. the rest should be normal.

      Comment


      • #4
        you can hide stuff with its visibility

        style="visibility:hidden"


        What r u trying to do??? then we could help you out a little beter
        Tech Author [Ajax In Action, JavaScript: Visual Blueprint]

        Comment


        • #5
          it's a scroller. i'm moving a div object across the screen while inversely moving its clip coordinates. makes it look like it's scrolling.

          unfortunately, the browser thinks the page is as wide as div, not just the clipped portion, so scroll bars appear even though they're not necessary.

          Comment


          • #6
            hooray!

            wrapping everything up in another div element with overflow:hidden did the trick, although made things a little hairier in netscape.

            Comment


            • #7
              lol....
              Netscape is what makes coding fun......



              A1ien51
              Tech Author [Ajax In Action, JavaScript: Visual Blueprint]

              Comment


              • #8
                Because it doesn't correct your bad code like IE does?

                Comment

                Working...
                X