Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Jun 2007
    Posts
    310
    Thanks
    86
    Thanked 3 Times in 3 Posts

    CSS within a pop-up Window?

    Hello,

    I have a problem with an early CSS design. I'm designing within a pop-up window:

    http://www.inspireaway.co.uk/survey/

    Now if you click on the link you will see I have a box. It fits the pop-up nicely in IE, but in FF the width goes past the pop-up Window and it looks awkward as you are forced to scroll. Can anyone help?

    Here's my code:

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <style type="text/css">
    /* Start the stylesheet */
    
    * { padding:0; margin: 0; }
    
    
    body {
     font-family:"Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif; 
     font-size:12px;
     background: #F4F3F1;
     color: #666;
    }
    
    #wrapper { 
     margin: 0 auto;
     width: 100%;
     border: 6px solid #EAEAEA;
     background-color: #FFF;
    }
    
    .insidewrap { 
     width: 100%;
     border: 1px solid #CCC;
     padding: 10px;
    }
    
    </style>
    </head>
    
    <body>
    <div id="wrapper" class="insidewrap">
    
    </div> <!-- End wrapper-->
    </body>
    </html>

  • #2
    Senior Coder rangana's Avatar
    Join Date
    Feb 2008
    Location
    Cebu City, Philippines
    Posts
    1,752
    Thanks
    65
    Thanked 372 Times in 365 Posts
    See if removing highlighted helps:
    Code:
    #wrapper { 
     margin: 0 auto;
     width: 100%;
     border: 6px solid #EAEAEA;
     background-color: #FFF;
    }
    
    .insidewrap { 
     width: 100%;
     border: 1px solid #CCC;
     padding: 10px;
    }
    Learn how to javascript at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph

  • #3
    Regular Coder
    Join Date
    Jun 2007
    Posts
    310
    Thanks
    86
    Thanked 3 Times in 3 Posts
    Thanks, but nope. Any other suggestions?

  • #4
    Senior Coder rangana's Avatar
    Join Date
    Feb 2008
    Location
    Cebu City, Philippines
    Posts
    1,752
    Thanks
    65
    Thanked 372 Times in 365 Posts
    Quote Originally Posted by stfc_boy View Post
    Thanks, but nope. Any other suggestions?
    What does that mean?

    I'm unable to see the (horizontal) scrollbar on your page already.
    Learn how to javascript at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph

  • Users who have thanked rangana for this post:

    stfc_boy (11-19-2008)

  • #5
    Regular Coder
    Join Date
    Jun 2007
    Posts
    310
    Thanks
    86
    Thanked 3 Times in 3 Posts
    Nope, sorry you are right. My browser was caching. Thank you!


  •  

    Posting Permissions

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