+ Start a Discussion
Shiva RajendranShiva Rajendran 

How to align login and username to a inputfield on a Vf page

i have a custom login page . How can i align to look like salesforce login ?
<apex:page controller="custLogin_CC" showHeader="false" sidebar="false"> 
    <apex:form >
    <apex:pageblock >
        <apex:pageBlockSection >
               username : <apex:inputText value="{!username}"/>
        <apex:pageBlockSection > 
            password : <apex:inputSecret value="{!password}"> </apex:inputSecret>
        <apex:commandButton action="{!login}" value="login" style="float:centre" />
User-added image
What should i do to display label and inputfield together in salesforce?
Thanks and Regards,
Shiva RV
Have you tried apex:pageBlockSectionItem under apex:pageBlockSection?