[ Date Index ][
Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday 28 Jul 2002 5:15 pm, Adrian Midgley wrote:
On Sunday 28 July 2002 16:10, you wrote:Lets concentrate on standardizing HTML and CSS, and then tackle javascript!OK. Today's problem for me is fixing a division to the bottom of a web page, or more precisely ensuring it is always below another element. I can do it with position:fixed; but then I find myself making assumptions about how large the viewport of the user is going to be, and putting it xxx pixels down the page. I'll probably find the answer through Google in a few minutes... but ...
I've just re-read that. You weren't looking for a Javascript solution, were ya! A CSS solution could involve a double wrap. If element A must always be below element B, wrap both within element C and use overflow if necessary. The other alternative is to consider putting the division at the SIDE of the webpage instead using float. [div] element C [div] open element A [/div] [div] open element B [/div] close element C Any use? - -- Neil Williams ========== www.codehelp.co.uk www.dclug.org.uk -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9RDG5k7DVr6iX/QIRAgf8AJ9SZgcO4Ie23t/+MjXwz1q4R5YfdwCdHtgC oUCRLbUw545owxxq7knbXio= =fLBN -----END PGP SIGNATURE----- -- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.