开发者

Extra space taking in ie7

开发者 https://www.devze.com 2023-01-04 23:15 出处:网络
I used a specific css for ie7 its getting problem in ie7 an unwanted white space is taking on right side its near about 50px; that\'s why an horizontallyscroll bar is displaying on page,

I used a specific css for ie7 its getting problem in ie7 an unwanted white space is taking on right side its near about 50px; that's why an horizontally scroll bar is displaying on page, I want to remove a scrollbar and white space.

Code which i used in css of ie7

#pagewrap   /* This pagewrap i开发者_运维知识库s use for signup page to fixed align center */ 
{
    margin  : 0px auto;
    width   : 1000px;
    min-height  : 710px; 
}

Thanks


#pagewrap   /* This pagewrap is use for signup page to fixed align center */ 
{
    margin  : 0px auto;
    width   : 900px;
    min-height  : 710px; 
}

Try shrinking the width of the object if it is too wide. You could also change to a percentage:

#pagewrap   /* This pagewrap is use for signup page to fixed align center */ 
{
    margin  : 0px auto;
    width   : 100%;
    min-height  : 710px; 
}


try

body{
    margin:0px;
    padding:0px;
}
0

精彩评论

暂无评论...
验证码 换一张
取 消