Go Back   Velocity Reviews > Newsgroups > HTML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

HTML - vertical align input elements in div

 
Thread Tools Search this Thread
Old 09-22-2006, 09:03 AM   #1
Default vertical align input elements in div


Hi all,

I have some input elements, textarea and a button next to each other.
How can I all align them to the top of the div?

Best regards
STijn



tarscher@gmail.com
  Reply With Quote
Old 09-22-2006, 02:30 PM   #2
Jonathan N. Little
 
Posts: n/a
Default Re: vertical align input elements in div

wrote:
> Hi all,
>
> I have some input elements, textarea and a button next to each other.
> How can I all align them to the top of the div?


Do you mean to the DIV they are within or to a DIV that precedes them?
Not to sound like a broken record but a URL to what you trying to do
would be very helpful [click]a URL to [click]a URL to [click]a URL to
[click]a URL to [click]...



--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
  Reply With Quote
Old 09-22-2006, 02:33 PM   #3
tarscher@gmail.com
 
Posts: n/a
Default Re: vertical align input elements in div


Jonathan N. Little schreef:

> wrote:
> > Hi all,
> >
> > I have some input elements, textarea and a button next to each other.
> > How can I all align them to the top of the div?

>
> Do you mean to the DIV they are within or to a DIV that precedes them?
> Not to sound like a broken record but a URL to what you trying to do
> would be very helpful [click]a URL to [click]a URL to [click]a URL to
> [click]a URL to [click]...
>
>
>
> --
> Take care,
>
> Jonathan
> -------------------
> LITTLE WORKS STUDIO
> http://www.LittleWorksStudio.com


I have a
<div>
input elements, textarea, button
</div>
So a div preceding them. I cannot show you an example since it's
internal and I have no server...

Regards,
Stijn

  Reply With Quote
Old 09-22-2006, 04:06 PM   #4
Jonathan N. Little
 
Posts: n/a
Default Re: vertical align input elements in div

wrote:
> Jonathan N. Little schreef:
>
>> wrote:
>>> Hi all,
>>>
>>> I have some input elements, textarea and a button next to each other.
>>> How can I all align them to the top of the div?

>> Do you mean to the DIV they are within or to a DIV that precedes them?
>> Not to sound like a broken record but a URL to what you trying to do
>> would be very helpful [click]a URL to [click]a URL to [click]a URL to
>> [click]a URL to [click]...
>>
>>


> I have a
> <div>
> input elements, textarea, button
> </div>
> So a div preceding them. I cannot show you an example since it's
> internal and I have no server...
>


No, what you show means the form elements are *within* the DIV, and
since by default INPUT, TEXTAREA and BUTTON are inline they should be
aligned horizontally. The problem must be is something your are *not*
showing here. [sigh] Without more info cannot help you and I doubt
anyone else can either.


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump