![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, My container div should contain all the contents on the page, but it does not appear to have the height of the complete page. See page: http://afstuderen.archytas.nl/verslag.php In the end of the page, mozilla makes the white div longer than the container. MSIE will leave some content away and cuts the page earlier. Does anyone have an idea why this will happen? |
#3
| |||
| |||
|
|
Roderik wrote: Hi, My container div should contain all the contents on the page, but it does not appear to have the height of the complete page. See page: http://afstuderen.archytas.nl/verslag.php In the end of the page, mozilla makes the white div longer than the container. MSIE will leave some content away and cuts the page earlier. Does anyone have an idea why this will happen? You have given the #divContents a relative position, with top:100px. This will put the div 100px lower than its original position, both at the top and at the bottom. To keep it inside it's box, use margin-top:100px instead of position:relative and top:100px, or, add a margin-bottom of 100px (200px if you would use top:200px) to the div. Thanks. |
#4
| |||
| |||
|
|
Els wrote: Roderik wrote: http://afstuderen.archytas.nl/verslag.php Now another problem. In internet explorer the background of the container is brown, in Mozilla the background is all black. Probably the container has no height in Mozilla, any idea how I can solve this, so the background of the container (with full height) is brown in Mozilla as well? |
#5
| |||
| |||
|
|
btw: hoe ontvangt iemand koffie via internet? ;-)(het staat er nog twee keer ook) |
#6
| |||
| |||
|
|
Els wrote: btw: hoe ontvangt iemand koffie via internet? ;-)(het staat er nog twee keer ook) They use a VPM |
#7
| |||
| |||
|
|
You have given the #divContents a relative position, with top:100px. This will put the div 100px lower than its original position, both at the top and at the bottom. To keep it inside it's box, use margin-top:100px instead of position:relative and top:100px, or, add a margin-bottom of 100px (200px if you would use top:200px) to the div. |

#8
| |||
| |||
|
|
Els <els.aNOSPAM (AT) tiscali (DOT) nl> wrote You have given the #divContents a relative position, with top:100px. This will put the div 100px lower than its original position, both at the top and at the bottom. To keep it inside it's box, use margin-top:100px instead of position:relative and top:100px, or, add a margin-bottom of 100px (200px if you would use top:200px) to the div. Thanks Els... Your solution helped me to solve a totally different problem of mine.. ![]() |
#9
| |||
| |||
|
|
Rithish wrote: Els <els.aNOSPAM (AT) tiscali (DOT) nl> wrote You have given the #divContents a relative position, with top:100px. This will put the div 100px lower than its original position, both at the top and at the bottom. To keep it inside it's box, use margin-top:100px instead of position:relative and top:100px, or, add a margin-bottom of 100px (200px if you would use top:200px) to the div. Thanks Els... Your solution helped me to solve a totally different problem of mine.. ![]() Care to say what it was? (curiosity only kills cats, not me ;-) ) |
#10
| |||
| |||
|
|
Thanks Els... Your solution helped me to solve a totally different problem of mine.. ![]() Care to say what it was? (curiosity only kills cats, not me ;-) ) Sure Els, why not?? If curiosity were to kill more than cats, then most people out here would be dead by now !! ;D http://groups.google.co.in/groups?q=... e.com&rnum=3 |
![]() |
| Thread Tools | |
| Display Modes | |
| |