incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dirk Frederickx" <dirk.frederi...@gmail.com>
Subject Re: CSS absolute positioning and searchboxMenu
Date Sat, 25 Oct 2008 14:21:09 GMT
I would suggest to remove the position:absolute from the .searchboxMenu.
This way, the menu remains relative to searchbox.


dirk


On Thu, Oct 23, 2008 at 11:10 PM, Trevor Harrison
<trevorsharrison@gmail.com> wrote:
> I'm customizing a template for my site, and I'm trying to absolutely
> position the search tool:
>
> in jspwiki.css, I've got:
>
> .searchbox {
>        position: absolute;
>        top: 205px;
> }
>
> The input field gets positioned correctly, but the searchboxMenu div
> is positioned quite a bit lower on the screen, at 229px;  If I move
> the .searchbox top position, then the searchboxMenu position changes
> also.  The .searchboxMenu position always seems to be .searchbox.top +
> 24px;  I'm sure that the left/right would be messed up also if I set a
> value in .searchbox.
>
> I'm guessing that this is caused by jspwiki-common.js locatemenu(),
> which I'm guessing always assumes that the base isn't absolutely or
> relatively positioned.
>
> Am I on the right track?  Anyone run into this already and fix it?
>
> -Trevor
>

Mime
View raw message