Re: [css-d] Positioning a popup window over the button

2012-01-07 Thread Tom Livingston
Sent from iOS 5 On Jan 7, 2012, at 1:29 PM, Laura Valentino wrote: > On Jan 7, 2012, at 10:47 AM, "G.Sørtun" wrote: > >> >>> One solution is to add ' margin-bottom: -460px;' to > (height + padding + border-width), so it doesn't take up any space in >> original position. >> > > Thanks Geor

Re: [css-d] Positioning a popup window over the button

2012-01-07 Thread Laura Valentino
On Jan 7, 2012, at 10:47 AM, "G.Sørtun" wrote: > > > One solution is to add ' margin-bottom: -460px;' to (height + padding + border-width), so it doesn't take up any space in > original position. > Thanks Georg, that solves the problem! I have yet to wrap my brain around this yet though... On

Re: [css-d] Positioning a popup window over the button

2012-01-07 Thread Tom Livingston
You could try using absolute positioning, making it relative to the button's containing element. I'm guessing that would allow you to position it better with the button as you desire. Sent from iOS 5 On Jan 7, 2012, at 10:47 AM, "G.Sørtun" wrote: > On 07.01.2012 15:12, Laura Valentino wrote:

Re: [css-d] Positioning a popup window over the button

2012-01-07 Thread G.Sørtun
On 07.01.2012 15:12, Laura Valentino wrote: I'm trying to position a popup window over a button. I've succeeded in doing that by using position: relative and applying a negative top value. The problem is that it creates a space below the button (I assume the same size as the window) and pushes th

[css-d] Positioning a popup window over the button

2012-01-07 Thread Laura Valentino
I'm trying to position a popup window over a button. I've succeeded in doing that by using position: relative and applying a negative top value. The problem is that it creates a space below the button (I assume the same size as the window) and pushes the footer down below that. What's going on?? If