|
Posted by George Hester on November 3, 2004, 1:28 pm
Please log in for more thread options
I have this DIV at the very bottom of a html.
<head>
<style type="css/text" media="all">
<!--
#oFoot { position: relative;
left: 0px;
width: 100%;
height: 50px;
filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr='#FF0000',
endColorStr='#FCCCCF', gradientType='0');
text-align: center; }
-->
</style>
</head>
<!-- -->
<div id="oFoot">
<!-- a table -->
</div>
</body>
</html>
My trouble is this <div> is not flush with the bottom of the document. There is
a gap of about 50px. Any ideas how to fix this? If not it seems that
bottom-margin in IE is superfalous.
--
George Hester
__________________________________
|
|
Posted by jmm-list-gn on November 3, 2004, 11:29 am
Please log in for more thread options
George Hester wrote:
>
> My trouble is this <div> is not flush with the bottom of the document. There
is a gap of about 50px. Any ideas how to fix this? If not it seems that
bottom-margin in IE is superfalous.
>
An URL would be a lot more useful.
Your stylesheet does not use margin-bottom. There is nothing in your
example (which, BTW, is invalid html) that would push the div to the bottom.
--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
|
|
Posted by George Hester on November 3, 2004, 10:23 pm
Please log in for more thread options > George Hester wrote:
> >
> > My trouble is this <div> is not flush with the bottom of the document.
There is a gap of about 50px. Any ideas how to fix this? If not it seems that
bottom-margin in IE is superfalous.
> >
> An URL would be a lot more useful.
> Your stylesheet does not use margin-bottom. There is nothing in your
> example (which, BTW, is invalid html) that would push the div to the bottom.
>
> --
> jmm dash list (at) sohnen-moe (dot) com
> (Remove .AXSPAMGN for email)
Hi. Could you explain what is invalid about it? Of course I didn't give you
the entire code. I don't think that was necessary. In any case you were right.
I just added:
<style type="text/css">
<!--
/* stuff */
body { margin-bottom: 0px; }
-->
</style>
That did what I wanted. The <DIV is now flush with the bottom of the page. In
IE anyway. Thanks.
--
George Hester
__________________________________
|
|
Posted by jmm-list-gn on November 3, 2004, 7:27 pm
Please log in for more thread options George Hester wrote:
>
> Hi. Could you explain what is invalid about it? Of course I didn't give you
the entire code. I don't think that was necessary. In any case you were right.
I just added:
>
The sample code is missing the <body> tag. It is because of these sorts
of errors that we insist on an URL.
--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
|
|
Posted by Michael Fesser on November 4, 2004, 5:13 am
Please log in for more thread options .oO(jmm-list-gn)
>George Hester wrote:
>>
>> Hi. Could you explain what is invalid about it? [...]
>>
> The sample code is missing the <body> tag.
Not necessary in HTML.
OK, document type declaration and title were missing ...
Micha
|
| Similar Threads | Posted | | good web host? | December 1, 2004, 8:21 pm |
| July 11, 2005, 5:45 pm |
| Need a good text | September 7, 2006, 1:01 am |
| Looking for a good FTP program | February 16, 2008, 9:14 am |
| Is it good to use absolute URLs? | November 4, 2004, 11:42 am |
| Have you heard the GOOD NEWS? | January 23, 2005, 4:38 pm |
| Could someone good to see the programming archtecture? | January 30, 2005, 8:47 am |
| Recommend a good tutorial? | August 22, 2006, 1:48 pm |
| Any good website software that allows | October 8, 2006, 11:49 am |
| Qualities of a good web designer | July 10, 2007, 7:17 am |
|