The forums have permanently moved to This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.

Results 1 to 3 of 3

Thread: irritating gap in layout with Opera

  1. #1

    irritating gap in layout with Opera

    So far my page works fine with FF,IE,NS8,Safari but Opera is giving me trouble
    I've kinda narrowed this problem down to the PHP login form. If i take it out the gap goes away. I've tried MANY things and i've yet to figure this problem out.

    now if you were to view the link above with opera it would look like this

    Thanks for any help, this is a tough one

  2. #2
    Your form causes the gap. Set form's margin to zero.

  3. #3

    *problem solved*

    How would you go about setting the form to 0 margin,
    The name of the DIV is titlebar_right, i've tried

    input {margin: 0;}


    form#titlebar_right {margin: 0;}


    div#titlebar_right {margin: 0 0 0 468px;}

    HAHA, YES,
    ok, while i was typing this, i tried something i've never tried before and fixed it

    You were right mikkomikko, i just had the margin: 0; in the wrong spot
    I finally added my class="login_form" to the form line, i previously only had it on the input lines

    echo "<form method=post action=\"login.php\" class=\"login_form\">";
    echo "<input name=\"username\" type=\"text\" value=\"User Name\" size=\"10\" class=\"login_form\">&nbsp;";
    echo "<input name=\"password\" type=\"password\" value=\"Password\" size=\"10\" class=\"login_form\">&nbsp;";
    echo "<input type=\"submit\" name=\"submit\" value=\"Log In\" class=\"login_form\">";
    thanks for the extra push in the right direction

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Home About Meet the Moderators Advertise

 Link to Us


Copyright 1999 - 2012