You need to sign in to do that
Don't have an account?

i want usename below user information and pass word infront of usrename and login button infront in same line how it is possible ?
<apex:page standardController="User" >
<apex:form >
<div align="center">
<apex:image url="https://c.ap4.visual.force.com/resource/1548067870000/LoginImage" styleClass="imageStyle" height="100" width="100"/>
</div>
<apex:pageBlock title="User Information">
<apex:pageBlockSection columns="3">
<div align="left" draggable="false" >
<apex:inputField value="{!User.Username}" />
<apex:inputField value="{!User.Password__c}" required="true"/>
</div>
</apex:pageBlockSection>
<div align="right:top" columns="2" >
<apex:commandButton value="Login" action="{!save}"/>
</div>
</apex:pageBlock>
</apex:form>
</apex:page>
Please try the below Markup.
VF Markup:
<apex:page standardController="User" >
<apex:form >
<style>
.bPageBlock .detailList .labelCol{
width:0px!important;
}
</style>
<div align="center">
<apex:image url="https://c.ap4.visual.force.com/resource/1548067870000/LoginImage" styleClass="imageStyle" height="100" width="100"/>
</div>
<apex:pageBlock title="User Information">
<apex:pageBlockSection columns="6">
<apex:inputField value="{!User.Username}" />
<apex:inputField value="{!User.Password__c}" required="true"/>
<apex:commandButton value="Login" action="{!save}"/>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
Thanks,
Dinesh