align text field and button

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • finecur

    align text field and button

    Here is my html:

    <table>
    <tr>
    <td colspan=2>Name <input type=text...><i nput type=button...> </td>
    </tr>
    <tr>
    <td>....</td>
    <td>....</td>
    </tr>
    </table>


    The width of the second row (and thus the width of the table) is
    changing depending on its content. I want, however, in the first row,
    "Name" is always left aligned. The button is always right aligned.
    And
    the text filed fill all the space between them.


    I can not figure out how to do it. Can anyone help?


    Thanks,


    ff

  • Jukka K. Korpela

    #2
    Re: align text field and button

    Scripsit finecur:
    Here is my html:
    I already explained what you should have done, when you asked in c.i.w.a.h.
    Apparently you understood only the choice of group part. Consider yourself
    plonked.

    --
    Jukka K. Korpela ("Yucca")


    Comment

    • finecur

      #3
      Re: align text field and button

      I don't know what you have explained to me and I do not know what your
      solution is.

      You sounds like the George W Bush of this forum and the html forum who
      can command others.

      This does not work for me.


      On Feb 21, 2:36 pm, "Jukka K. Korpela" <jkorp...@cs.tu t.fiwrote:
      Scripsitfinecur :
      >
      Here is my html:
      >
      I already explained what you should have done, when you asked in c.i.w.a.h.
      Apparently you understood only the choice of group part. Consider yourself
      plonked.
      >
      --
      Jukka K. Korpela ("Yucca")http://www.cs.tut.fi/~jkorpela/

      Comment

      • al jones

        #4
        Re: align text field and button

        Actually Jukka was being less abrupt than normal with you (for some
        reason....)

        The gist of his answer (as I read it) was:
        1) why are you using table for non-tabular data? You shold probably
        reconsider this.
        2) "... ask in c.i.w.a.s.," and don't forget to mention the URL."
        Since this is a style sheet issue ask in the right group - which you found.
        3) "and don't forget to mention the URL."

        There are very few people here who will take your scrap of html - assign a
        head and doctype to it and try to figure out what you mean. With just that
        scrap there are way too many possbile questions: is there any style
        involved and if so what; are there any syntactically incorrect lines that
        should be above your scrap that would cause it to misbehave; did you cut
        and paste this scrap or did you type it in - and if you type it in, is it
        an accurate reflection of what is in your html.

        It's a simple request if you want help. Put the sample up in a functioning
        page, validate both the html and css (why ask them to correct things that
        you should have corrected first?) and then, finally, ask them take a look
        at it.

        You did the equivalent of walking into a garage somewhere, saying my car
        won't run, here's the keys and walking off. One would expect the mechanic
        to possibly have the car to fix, or at least know where to find it. If you
        want help you have to give enough good information to get that help in the
        case of the car - bring the car or give him doirections so he can have a
        towtruck get it, in the case of an html page give them a link to the page
        which display the problem.

        In other words - simply, you won't get a solution to your problem if you
        don't present it in the way that makes it easy for them to see the problem.

        //al

        On 21 Feb 2007 15:23:24 -0800, finecur wrote:
        I don't know what you have explained to me and I do not know what your
        solution is.
        >
        You sounds like the George W Bush of this forum and the html forum who
        can command others.
        >
        This does not work for me.
        >
        On Feb 21, 2:36 pm, "Jukka K. Korpela" <jkorp...@cs.tu t.fiwrote:
        >Scripsitfinecu r:
        >>
        >>Here is my html:
        >>
        >I already explained what you should have done, when you asked in c.i.w.a.h.
        >Apparently you understood only the choice of group part. Consider yourself
        >plonked.
        >>
        >--
        >Jukka K. Korpela ("Yucca")http://www.cs.tut.fi/~jkorpela/

        Comment

        Working...