SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Wizard nofel's Avatar
    Join Date
    Aug 2007
    1 Post(s)
    0 Thread(s)

    popup width shows scroll in IE and Chorme

    hey folks, i been over to CSS forums and i was redirected here as it was a JS problem. i have created a page when i click suppose say "priority" the popup comes up. now in FF, its fine but in IE, Chorme, it has scrolls, and the width and size of viewpoint of border aren't same. what is causing this? how to fix it.
    thanks in advance!
    All those who wander aren't lost.

  2. #2
    SitePoint Evangelist TommiChi's Avatar
    Join Date
    Oct 2008
    0 Post(s)
    0 Thread(s)
    OK, so inspecting your code I saw that the that you call has scrollbars turned off. I'm not really sure why this is happening, but I can offer 2 alternatives to work around this problem:
    -- In the CSS of the page you are loading, set the body height and width to 100% and overflow to hidden. This should kill the scrollbars.
    -- Open your content in an iframe that you style (lightbox style) to look like a popup. Iframes are a lot easier to style the way you want than actual popup windows.

Tags for this Thread


Posting Permissions

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