I am new to Visualforce development.
- I want to style a visualforce page that is part of a site.
- this page will be customer facing and will allow customers to fill our online application form, this will create a record of a custom object is Salesforce.
What is the best way to approach this? Currently we are using Force.com sites, but we need to get the pages to match the rest of our websites styling, so we have used a custom stylesheet and are currently trying to add 1000+ lines of HTML to the customer facing page. This does feel like the wrong approach.
I know, if I was developing this in PHP I could create a PHP include for our sites header and footer and leave a <div>
tag open at the end of the header and close this in the footer. This would then wrap around our visualforce content.
innerHTML
property to set it up