Gap in page in Chrome, fine in FF and IE

Light Poster
27Aug2010,00:01   #1
hgolov's Avatar
HI,
I have been asked to make css changes to an existing site. At one point we noticed that one page has a large vertical gap between the header and the main content, ONLY in chrome - it looks fine in ie7, ie8, and ff.
Does anyone have any ideas how to solve this?
Go4Expert Founder
27Aug2010,08:32   #2
shabbir's Avatar
Unless you can show us it would not be possible to suggest anything on the same.
Light Poster
27Aug2010,10:34   #3
hgolov's Avatar
Thanks -
diettv DOT com SLASH register DOT php
Go4Expert Founder
27Aug2010,13:40   #4
shabbir's Avatar
Try to move the style element just after the form in the header and see if it is taking the space.
Light Poster
27Aug2010,14:33   #5
hgolov's Avatar
Thanks for your help. This didn't work. Any other ideas?
Skilled contributor
30Aug2010,22:00   #6
ManzZup's Avatar
err really confusing but cna you post the code for the main style?
Light Poster
30Aug2010,22:45   #7
hgolov's Avatar
There is a ton of css here - the style sheet is over 5000 lines!
The content div has the following css:
Code:
#content {
margin:0 auto;
overflow:hidden;
padding-bottom:56px;
padding-top:12px;
width:100%;
}
The header div
Code:
#header  {
height:145px;
margin:0 auto;
position:relative;
width:100%;
}
The last div in the header, just above the content div:
Code:
#header .header_box {
color:#FFFFFF;
font-size:17px;
height:36px;
left:0;
line-height:35px;
overflow:hidden;
position:absolute;
top:106px;
width:100%;
}
and the first div inside the content is:
Code:
sign_up  {
float:left;
padding-left:20px;
padding-right:10px;
width:647px;
}
Any ideas? Thank you so much for your time.
Skilled contributor
31Aug2010,09:30   #8
ManzZup's Avatar
not sure but juz try t=chagin the top: values (sometime chrome get it wrong)
n juz dont use posotion:absolute too mch
i5s gonna mess thngs up later
Light Poster
31Aug2010,12:38   #9
hgolov's Avatar
Thanks for your reply. I'm afraid that if I change the values for top, it will get messed up in other browsers. Do you have any other ideas
Go4Expert Founder
31Aug2010,13:33   #10
shabbir's Avatar
Quote:
Originally Posted by hgolov View Post
Thanks for your reply. I'm afraid that if I change the values for top, it will get messed up in other browsers. Do you have any other ideas
May or may not and so try testing it.