Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Re: Can't move that dialog box!

Reply
Thread Tools

Re: Can't move that dialog box!

 
 
Andy
Guest
Posts: n/a
 
      06-21-2010


"JSoul" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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?
>
> The css code affecting it is the following. I was wondering if someone
> can give me some insight. Putting in a left: 300px; entry didn't help,
> nor did making it relative. Changing the value for "top" did move the
> box vertically but I can't move it horizontally! Can anyone lend a
> hand please?
>
> /* login box*/
> #login_pop{
> position:absolute;
> width:250px;
> height:220px;
> top:150px;
> background:#151515;
> color:#ccc;
> text-align:left;
> padding:10px;
> border:1px solid #ccc;
> z-index:1000;
> }
>



Easy one, just cut the following and then paste it immediately below the
<body> tag...

<!-- login -->
<div id="login_pop" style="display:none;">
<form action="/index.php" method="post" name="login" id="form-login" >

<label for="yjpop_username">Username</label><br />
<input id="yjpop_username" type="text" name="username" class="inputbox"
alt="username" size="18" /><br />
<label for="yjpop_passwd">Password</label> <br />
<input id="yjpop_passwd" type="password" name="passwd" class="inputbox"
size="18" alt="password" /><br /><br />
<label for="yjpop_remember">Remember Me</label>
<input id="yjpop_remember" type="checkbox" name="remember" class="inputbox"
value="yes" alt="Remember Me" /><br />
<input type="submit" name="Submit" class="button" value="Login" />
<input type="hidden" name="option" value="com_user" />
<input type="hidden" name="task" value="login" />
<input type="hidden" name="return" value="L2luZGV4LnBocA==" />
<input type="hidden" name="374c2c966098fd33e60112f08fd7de8c" value="1"
/></form>

<a href="/component/user/remind">Forgot username?</a> | <a
href="/component/user/reset">Password?</a><br />
<a href="javascript:;" onclick="this.blur();showThem('login_pop');return
true;" id="closeLogin">Close</a>
</div>





Hope this helps


Andy






 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in running a basic code in python 3.3.0 that includes HTML file Satabdi Mukherjee Python 1 04-04-2013 07:48 PM
Writing move constructors and move assignment Andrew Tomazos C++ 2 12-12-2011 01:45 PM
Re: Can't move that dialog box! rf HTML 5 06-22-2010 05:12 AM
Re: Can't move that dialog box! 123Jim HTML 4 06-21-2010 09:26 PM
I am trying to move spaces to a weblistbox and when I move them... Eduardo78 ASP .Net Web Controls 0 11-03-2005 06:06 PM



Advertisments