1. Welcome! Please take a few seconds to create your free account to post threads, make some friends, remove a few ads while surfing and much more. ClutchFans has been bringing fans together to talk Houston Sports since 1996. Join us!

[HTML] CSS & the FORM tag

Discussion in 'BBS Hangout' started by Deuce, Feb 21, 2006.

  1. Deuce

    Deuce Context & Nuance

    Joined:
    Aug 1, 2001
    Messages:
    26,601
    Likes Received:
    35,733
    Question for CSS gurus.....

    Is there anyway to use CSS to take away that damn extra 'return' that results when using the starting FORM tag. Everything looks great in Safari and Firefox (PC and Mac) but on IE(PC) that damn extra 'return' is bugging me.
     
  2. MR. MEOWGI

    MR. MEOWGI Contributing Member

    Joined:
    Jul 2, 2002
    Messages:
    14,382
    Likes Received:
    13
    Do you have a link with an example?
     
  3. droxford

    droxford Member

    Joined:
    Oct 26, 2001
    Messages:
    10,598
    Likes Received:
    2,131
    try this: <form style="display : inline;">...</form>
     
  4. Deuce

    Deuce Context & Nuance

    Joined:
    Aug 1, 2001
    Messages:
    26,601
    Likes Received:
    35,733
    Man, you guys rule! Drox, that works PERFECTLY!
     
  5. droxford

    droxford Member

    Joined:
    Oct 26, 2001
    Messages:
    10,598
    Likes Received:
    2,131
    Well... I wouldn't say that just yet.

    You see... though that will remove the carriage return, it changes the form tag so that it now behaves like an inline element (as opposed to a block-level element).

    Google inline, block-level, and css and you'll see what I mean.
     
  6. SwoLy-D

    SwoLy-D Member

    Joined:
    Jul 20, 2001
    Messages:
    37,618
    Likes Received:
    1,456
    Reply to this thread. Look at the code for the "Submit Reply" and "Preview Post" form. Is that what you mean?

    You must put the form into a DIV tag and set its class to pad LESS than the regular <P>.

    Post a screen shot or YOUR code.
     

Share This Page