Reply to Re: problem with IE - well, who does not?

Your name:

Reply:


Posted by Toby Inkster on 02/06/06 21:02

windandwaves wrote:

> I know about the peek-a-boo thing, just not sure how to apply it to my
> problem....

Generally giving various elements "position:relative" will do it.

Here's a related gem that I've been using quite a bit recently...

<div id="wrap">
<div id="content">
...
</div>
<div id="nav">
...
</div>
</div>
<style type="text/css">

/* fairly simple 2-column layout... */
#wrap
{
position: relative;
}
#content
{
margin: 0 0 0 200px;
}
#nav
{
position: absolute;
top: 0;
left: 0;
width: 200px;
border-right: 1px solid;
}

/* PROBLEM: when #nav is very long, and #content is very short, then
MSIE users won't be able to scroll down the page to see the bottom of
#nav! */

#nav * { zoom: 1; } /* fix */

</style>

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация