Skip to content

Instantly share code, notes, and snippets.

@sankaran1984
Created December 8, 2016 17:20
Show Gist options
  • Save sankaran1984/69308b49dfb7f98ca71d44b933c5d4b2 to your computer and use it in GitHub Desktop.
Save sankaran1984/69308b49dfb7f98ca71d44b933c5d4b2 to your computer and use it in GitHub Desktop.
Visualforce - Beyond Basics
<apex:page >
<style>
.myClass {
border : 2px solid red;
}
</style>
<apex:form>
<apex:panelGrid columns="2">
<!-- Input Components -->
<apex:outputText value="Enter your name"/>
<apex:inputText styleClass="myClass"/>
<!-- Output Components -->
<apex:outputText value="Company Name"/>
<apex:outputText value="Nepz Solutions Ltd" styleClass="myClass"/>
<!-- Navigation Control Components -->
<apex:commandLink value="javascript:void(0);" styleClass="myClass">
click me
</apex:commandLink>
</apex:panelGrid>
</apex:form>
</apex:page>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment