The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Aligning input form
pang
post Aug 24 2016, 02:34 AM
Post #1





Group: Members
Posts: 1
Joined: 24-August 16
Member No.: 24,703



How can I align an input form? It is automatically aligned bottom-left, and I want it to be aligned top-right.

Here is how I write my code:

<div class="container">
<form>
(text)
</form>
</div>


In CSS I use float:

.container{
float:right;
}


Where am I wrong?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Aug 24 2016, 06:52 AM
Post #2


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



Impossible to say without seeing the whole page...
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 25th April 2024 - 02:25 AM