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 |
|
Unless you can show us it would not be possible to suggest anything on the same.
|
|
Light Poster
|
|
| 27Aug2010,10:34 | #3 |
|
Thanks -
diettv DOT com SLASH register DOT php |
|
Go4Expert Founder
|
![]() |
| 27Aug2010,13:40 | #4 |
|
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 |
|
Thanks for your help. This didn't work. Any other ideas?
|
|
Skilled contributor
|
![]() |
| 30Aug2010,22:00 | #6 |
|
err really confusing but cna you post the code for the main style?
|
|
Light Poster
|
|
| 30Aug2010,22:45 | #7 |
|
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%;
}
Code:
#header {
height:145px;
margin:0 auto;
position:relative;
width:100%;
}
Code:
#header .header_box {
color:#FFFFFF;
font-size:17px;
height:36px;
left:0;
line-height:35px;
overflow:hidden;
position:absolute;
top:106px;
width:100%;
}
Code:
sign_up {
float:left;
padding-left:20px;
padding-right:10px;
width:647px;
}
|
|
Skilled contributor
|
![]() |
| 31Aug2010,09:30 | #8 |
|
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 |
|
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 |



