|
Posted by Chris F.A. Johnson on 02/21/07 02:14
On 2007-02-20, Chris wrote:
> If you go to http://194.129.129.161/test.htm Can anyone tell me why my
> footer in my layout is not pushed down beneath the textual content div. The
> footer div in IE 7 and Firefox goes across the top of my text even though
> the div appears beneath the text div.
When I see height and width specified in px units, I automatically
assume that that is the cause of the problem. And usually it is;
your page is no exception.
Because of fixed widths, your page works *only* in an 800px-wide
window.
See a modified version of your page at:
<http://cfaj.freeshell.org/testing/test.htm>.
> This will form the basis of a database driven system so I will not know how
> big the text will be.
If you don't know how high the text is going to be, why do you use
fixed heights (measured in px)?
> I have posted link as it is little difficult to explain.
That's the right way to do it.
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
Navigation:
[Reply to this message]
|