On Mon, 19 Mar 2007 14:43:58 +, Designer wrote:
> Thanks to those who responded on this. What I've done is to make a file
> which uses the
> javascript to determine the space available in the browser window, [...]
>
>
> You can see all this at: http://www.rhh.myzen.co.uk/gam/sandbox/
> Davi
On Mon, 19 Mar 2007 14:43:58 +, Designer wrote:
> Thanks to those who responded on this. What I've done is to make a file
> which uses the
> javascript to determine the space available in the browser window, [...]
>
>
> You can see all this at: http://www.rhh.myzen.co.uk/gam/sandbox/
> Davi
David Hucklesby wrote:
Use JavaScript to change the element's top-margin style directly, perhaps?
Cordially,
David
--
How exactly would you do that? (I'm interested, and I'm learning :-) )
--
Bob
www.gwelanmor-internet.co.uk
*
On Mon, 19 Mar 2007 14:43:58 +, Designer wrote:
> Thanks to those who responded on this. What I've done is to make a file
> which uses the
> javascript to determine the space available in the browser window, viz:
>
[...] (code snipped)
>
> Of course, since the php is server-side, I then have
On Mon, 19 Mar 2007 14:43:58 +, Designer wrote:
> Thanks to those who responded on this. What I've done is to make a file
> which uses the
> javascript to determine the space available in the browser window, viz:
>
[...] (code snipped)
>
> Of course, since the php is server-side, I then have
Thanks to those who responded on this. What I've done is to make a file
which uses the javascript to determine the space available in the
browser window, viz:
var height = 0;
if( typeof( window.innerWidth ) ==
Designer wrote:
Most of the methods (non-tables) for centering a div vertically (and
horizontally) suffer from the same problem: they use the div height
to attach a top margin and use percentages. The result is that, when
the window size gets to be smaller than the div size, the top of the
c
On Sat, 17 Mar 2007 13:03:25 +, Designer wrote:
> [...]
> Most of the methods (non-tables) for centering a div vertically (and
> horizontally)
> suffer from the same problem: they use the div height to attach a top margin
> and use
> percentages. The result is that, when the window size gets
On Sat, 17 Mar 2007 13:03:25 +, Designer wrote:
> [...]
> Most of the methods (non-tables) for centering a div vertically (and
> horizontally)
> suffer from the same problem: they use the div height to attach a top margin
> and use
> percentages. The result is that, when the window size gets
Hi Bob
How about adding an 'overflow: scroll' to the containing div, or
failing that allocate it a 'min-height'? That might avoid having to
use unnecessary javascript.
Regards
Lee
On 17 Mar 2007, at 13:03, Designer wrote:
I'm sorry if this is OT [but hey - it's weekend :-) ] but I'm
pre
10 matches
Mail list logo