19 users online (0 members and 19 guests)  


  Results 1 to 9 of 9

Related

  1. Replies: 0
  2. urgent xml / xsl help    Forum: HTML Forum
    Replies: 0
  3. Need urgent help.    Forum: HTML Forum
    Replies: 0
  4. Scrollbar(Its urgent)    Forum: General Discussion
    Replies: 3
  1. #1
    navin882's Avatar
    New User

    Status
    Offline
    Join Date
    Feb 2008
    Posts
    6

    Exclamation Need help on buttons --> very urgent

    Hi all,
    I have a question on the following code
    <?php
    if ($flag == 1)
    {
    echo "<HR COLOR=#0433f>";
    ?>
    <form method="post" action="asstnt.php">
    <input type="hidden" name="id" value="<?php echo $a ?>">
    <input type="submit" value="Next">
    &nbsp;&nbsp;<input type="button" value="Previous" onClick="window.location='javascript:history.go(-1)'">
    &nbsp;&nbsp;<input name="Action5" type="button" id="Action5" value="Done" onClick="javascript:window.location.href='gotohome.php';">
    </form>
    My question is that why do i get a space or blank line between the coloured line and the buttons.And how to eliminate the blank line.
    Thanks in advance.

  2. #2
    rangana's Avatar
    Moderator/Allstar

    Status
    Offline
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    317

    Re: Need help on buttons --> very urgent

    Hi navin882,
    I would always assume that this is very urgent since you have posted in htmlforums and even here.
    And still I have the same answer...just add some styles in your page.
    This code might fit your requirement:
    Code:
    <style type="text/css">
    form{margin:0;padding:0;}
    </style>
    Just place it in the <head></head> section of your page.

    See if it helps

  3. #3
    navin882's Avatar
    New User

    Status
    Offline
    Join Date
    Feb 2008
    Posts
    6

    Thumbs up Re: Need help on buttons --> very urgent

    Thanks man it really worked

  4. #4
    rangana's Avatar
    Moderator/Allstar

    Status
    Offline
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    317

    Re: Need help on buttons --> very urgent

    No problem!..you're welcome...now go to htmlforums....you haven't marked the thread resolved yet

  5. #5
    Dawn's Avatar
    New User

    Status
    Offline
    Join Date
    Feb 2008
    Location
    Basingstoke UK
    Posts
    20

    Re: Need help on buttons --> very urgent

    admin edit: User already started a thread, double post removed
    Last edited by HTML; 02-24-2008 at 09:55 AM.

  6. #6
    navin882's Avatar
    New User

    Status
    Offline
    Join Date
    Feb 2008
    Posts
    6

    Thumbs up Re: Need help on buttons --> very urgent

    thanks.

  7. #7
    rangana's Avatar
    Moderator/Allstar

    Status
    Offline
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    317

    Re: Need help on buttons --> very urgent

    You're welcome! Glad I could help.
    @ Dawn,
    We wanted to help, could you create another thread

  8. #8
    navin882's Avatar
    New User

    Status
    Offline
    Join Date
    Feb 2008
    Posts
    6

    Re: Need help on buttons --> very urgent

    hey dude you are humorous and funny

  9. #9
    rangana's Avatar
    Moderator/Allstar

    Status
    Offline
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    317

    Re: Need help on buttons --> very urgent

    Am I?...not really..I just wanted to use that emoticon..



Tags for this Thread