Results 1 to 5 of 5
  1. #1
    Join Date
    January 17th, 2005
    I know I saw someone having trouble with forms on this forum somewhere, but I can't find the post now. I'll post the solution that I stumbled across anyway, in hopes that it could help someone???

    Anyway, the problem they were experiencing was with space that is inserted after the /form tag is applied. They were using a drop down menu in a table for navigation, but it made their navbar twice as tall as they wanted it to be because of the extra space. Someone suggested putting the /form tag outside the table, which also works, but then you end up with the space directly underneath the navbar, which might not be what is wanted either.

    The solution that I found is to add the following line to your CSS code:

    form { margin: 0 }

    If I had known this earlier, I would have used it in the site that I'm just finishing up. Since I'm too lazy to incorporate the change on this site, maybe I'll use it on the next one. [img]/infopop/emoticons/icon_wink.gif[/img]


  2. #2
    Join Date
    January 17th, 2005
    wow!.... thanks a lot for that one!! it's been bothering me for ages.

    Get a random joke on your page!

  3. #3
    Full Member
    Join Date
    January 18th, 2005
    That is a good tip. I used to place the tags where they weren't exactly html legal.

    Leave the gun, take the cannolis.

  4. #4
    ABW Ambassador darkstar7's Avatar
    Join Date
    January 17th, 2005
    Thanks Gregdi,

    It cleaned up my form problem perfectly.
    Have you promoted your brand name today?

  5. #5
    ABW Ambassador erninator's Avatar
    Join Date
    January 18th, 2005
    Thanks Gregdi,

    That's been driving me crazy for years.

  6. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Array of Html Forms on Same Page?
    By Uncle Rico in forum Programming / Datafeeds / Tools
    Replies: 2
    Last Post: August 5th, 2009, 11:57 PM
  2. HTML in datafeed stays HTML in file?
    By Nintendo in forum WebMerge (
    Replies: 1
    Last Post: August 17th, 2004, 09:05 PM
  3. CGI - Sending email from HTML forms
    By c4 in forum Programming / Datafeeds / Tools
    Replies: 3
    Last Post: March 27th, 2002, 09:29 AM

Posting Permissions

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