Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Guybrush Threepwood
December 14, 2005, 5:58 pm
rate this thread
underneath each other. But when I lower the font size (in Firefox: <ctrl>+-),
the lowest box slides in front of the upper box. How can I avoid this?
"Don't worry about people stealing your ideas. If your ideas are any
good, you'll have to ram them down people's throats."
-- Howard Aiken
Re: vertically align absolutely positioned div elements
No idea why it does what it does, but the fix is easy: don't
use absolute positioning with #menu and #searchbox, but
rather on a new containing div#foo:
<div id="foo"> <-- absolutely postioned
<div id="searchbox>...</div> <-- add some margin-top
This is even better than the original solution because it
avoids the explicit top:18em on #searchbox, which would have
to be changed every time you change the contents of #menu.
- » Need help extracting green url's from googles results pages
- — Previous thread in » HTML Markup Language