SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Wizard nofel's Avatar
    Join Date
    Aug 2007
    Location
    Earth
    Posts
    1,766
    Mentioned
    1 Post(s)
    Tagged
    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
    Posts
    440
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OK, so inspecting your code I saw that the window.open 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

Bookmarks

Posting Permissions

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