Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / February 2007



Tip: Looking for answers? Try searching our database.

align text field and button

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
finecur - 21 Feb 2007 20:56 GMT
Here is my html:

<table>
<tr>
<td colspan=2>Name <input type=text...><input 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 - 21 Feb 2007 22:36 GMT
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.

Signature

Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

finecur - 21 Feb 2007 23:23 GMT
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.

> Scripsitfinecur:
>
[quoted text clipped - 6 lines]
> --
> Jukka K. Korpela ("Yucca")http://www.cs.tut.fi/~jkorpela/
al jones - 22 Feb 2007 02:29 GMT
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

> I don't know what you have explained to me and I do not know what your
> solution is.
[quoted text clipped - 14 lines]
>> --
>> Jukka K. Korpela ("Yucca")http://www.cs.tut.fi/~jkorpela/
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.