Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   HTML (http://www.velocityreviews.com/forums/f31-html.html)
-   -   Re: Can't move that dialog box! (http://www.velocityreviews.com/forums/t726134-re-cant-move-that-dialog-box.html)

rf 06-21-2010 05:50 AM

Re: Can't move that dialog box!
 
alt.html.css removed. Not on my server.


"JSoul" <datingrules@jsoul.com> wrote in message
news:ndtt169ljefssrig585rrklkq12bm16du6@4ax.com...
> I've got a site appearing here:
>
> http://www.boldplan.com/s/tiny/tRvebO
>
> It validates. But when you click the "login" link in the main menu, I
> can't move that login box over to the left in the center of the page!
> What gives?


You have specified it to be 145 pixels to the right of, and 117 px down
from, the top left corner of its containing element.

The containing element is the nearest ancestor that is positioned. This will
be your div with class login-button. Your absolutely positioned login-pop
div is being positioned relative to this containing element.

If you want to position the popup relative to the page then it must be a
direct child of something that is *not* positioned, probably body.


BTW whats with all that CSS? CSS is meant to make things easy, you specify
the font size (if you need to at all) exactly once, for the body element,
and let all the others inherit that. You seem to be specifying absolutely
everything (even the defaults) in every single style rule.



rf 06-21-2010 03:24 PM

Re: Can't move that dialog box!
 

"rf" <rf@z.invalid> wrote in message
news:z4DTn.3882$Ls1.693@news-server.bigpond.net.au...
> alt.html.css removed. Not on my server.
>
>
> "JSoul" <datingrules@jsoul.com> wrote in message
> news:ndtt169ljefssrig585rrklkq12bm16du6@4ax.com...
>> I've got a site appearing here:
>>
>> http://www.boldplan.com/s/tiny/tRvebO
>>
>> It validates. But when you click the "login" link in the main menu, I
>> can't move that login box over to the left in the center of the page!
>> What gives?

>
> You have specified it to be 145 pixels to the right of, and 117 px down
> from, the top left corner of its containing element.
>
> The containing element is the nearest ancestor that is positioned. This
> will be your div with class login-button. Your absolutely positioned
> login-pop div is being positioned relative to this containing element.
>
> If you want to position the popup relative to the page then it must be a
> direct child of something that is *not* positioned, probably body.
>
>
> BTW whats with all that CSS? CSS is meant to make things easy, you specify
> the font size (if you need to at all) exactly once, for the body element,
> and let all the others inherit that. You seem to be specifying absolutely
> everything (even the defaults) in every single style rule.
>


alt.html.css removed once again, not on my server.



dorayme, somebody, please, anybody who has access to alt.html.css, which is
NOT on my news server, so I CANNOT post to it.

Please reply to my post, quoting it, so the OP can see what the problem is,
which AFAICS nobody has even come close to. Ta.


Thus we see the bloody hassle involved with crossposting, let alone
multiposting.



123Jim 06-21-2010 03:32 PM

Re: Can't move that dialog box!
 

"rf" <rf@z.invalid> wrote in message
news:VuLTn.4002$Ls1.2576@news-server.bigpond.net.au...
>
> "rf" <rf@z.invalid> wrote in message
> news:z4DTn.3882$Ls1.693@news-server.bigpond.net.au...
>> alt.html.css removed. Not on my server.
>>
>>
>> "JSoul" <datingrules@jsoul.com> wrote in message
>> news:ndtt169ljefssrig585rrklkq12bm16du6@4ax.com...
>>> I've got a site appearing here:
>>>
>>> http://www.boldplan.com/s/tiny/tRvebO
>>>
>>> It validates. But when you click the "login" link in the main menu, I
>>> can't move that login box over to the left in the center of the page!
>>> What gives?

>>
>> You have specified it to be 145 pixels to the right of, and 117 px down
>> from, the top left corner of its containing element.
>>
>> The containing element is the nearest ancestor that is positioned. This
>> will be your div with class login-button. Your absolutely positioned
>> login-pop div is being positioned relative to this containing element.
>>
>> If you want to position the popup relative to the page then it must be a
>> direct child of something that is *not* positioned, probably body.
>>
>>
>> BTW whats with all that CSS? CSS is meant to make things easy, you
>> specify the font size (if you need to at all) exactly once, for the body
>> element, and let all the others inherit that. You seem to be specifying
>> absolutely everything (even the defaults) in every single style rule.
>>

>
> alt.html.css removed once again, not on my server.
>
>
>
> dorayme, somebody, please, anybody who has access to alt.html.css, which
> is NOT on my news server, so I CANNOT post to it.
>
> Please reply to my post, quoting it, so the OP can see what the problem
> is, which AFAICS nobody has even come close to. Ta.
>
>
> Thus we see the bloody hassle involved with crossposting, let alone
> multiposting.


The op replied to my post which was only posted in alt.html .. so I'm sure
he can see your replies .. well I'm pretty sure ..



dorayme 06-22-2010 03:38 AM

Re: Can't move that dialog box!
 
In article <hvo0lr$3nd$1@news.eternal-september.org>,
"123Jim" <jnkjnjnini@uhnuhnunuhnuy.invalid> wrote:

>
> "rf" <rf@z.invalid> wrote in message
> news:VuLTn.4002$Ls1.2576@news-server.bigpond.net.au...

....
> > Please reply to my post, quoting it, so the OP can see what the problem
> > is, which AFAICS nobody has even come close to. Ta.
> >
> >
> > Thus we see the bloody hassle involved with crossposting, let alone
> > multiposting.

>
> The op replied to my post which was only posted in alt.html .. so I'm sure
> he can see your replies .. well I'm pretty sure ..


When I saw rf's post, I thought, well, perhaps I should not
bother to look at OP's markup and CSS too closely, rf looked to
be hitting the nail on the head.

I am not so confident OP saw his post? He said in reply to OP's

"It validates. But when you click the
"login" link in the main menu, I can't
move that login box over to the left in
the center of the page! What gives?"

You have specified it to be 145 pixels to the
right of, and 117 px down from, the top left
corner of its containing element.

The containing element is the nearest ancestor
that is positioned. This will be your div with
class login-button. Your absolutely positioned
login-pop div is being positioned relative to this
containing element.

If you want to position the popup relative to the
page then it must be a direct child of something
that is *not* positioned, probably body.

BTW whats with all that CSS? CSS is meant to make
things easy, you specify the font size (if you
need to at all) exactly once, for the body
element, and let all the others inherit that. You
seem to be specifying absolutely everything (even
the defaults) in every single style rule.

--
dorayme

rf 06-22-2010 04:30 AM

Re: Can't move that dialog box!
 

"dorayme" <dorayme@optusnet.com.au> wrote in message
news:dorayme-8574A3.13382322062010@news.albasani.net...
> In article <hvo0lr$3nd$1@news.eternal-september.org>,
> "123Jim" <jnkjnjnini@uhnuhnunuhnuy.invalid> wrote:
>
>> The op replied to my post which was only posted in alt.html .. so I'm
>> sure
>> he can see your replies .. well I'm pretty sure ..

>
> When I saw rf's post, I thought, well, perhaps I should not
> bother to look at OP's markup and CSS too closely, rf looked to
> be hitting the nail on the head.


The OP is using joomla dorayme. All bets are off regarding pretty code.



dorayme 06-22-2010 05:12 AM

Re: Can't move that dialog box!
 
In article <B%WTn.4084$Ls1.3226@news-server.bigpond.net.au>,
"rf" <rf@z.invalid> wrote:

>
> "dorayme" <dorayme@optusnet.com.au> wrote in message
> news:dorayme-8574A3.13382322062010@news.albasani.net...
> > In article <hvo0lr$3nd$1@news.eternal-september.org>,
> > "123Jim" <jnkjnjnini@uhnuhnunuhnuy.invalid> wrote:
> >
> >> The op replied to my post which was only posted in alt.html .. so I'm
> >> sure
> >> he can see your replies .. well I'm pretty sure ..

> >
> > When I saw rf's post, I thought, well, perhaps I should not
> > bother to look at OP's markup and CSS too closely, rf looked to
> > be hitting the nail on the head.

>
> The OP is using joomla dorayme. All bets are off regarding pretty code.


So I noticed. I remember Els seeming to think Joomla OK...

--
dorayme


All times are GMT. The time now is 04:13 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.