Questions tagged [doctype]

HTML document type declaration tag <!DOCTYPE>.

Filter by
Sorted by
Tagged with
2 votes
0 answers

How do we name a Visualforce PDF without Apex (Filename)

Here is our Visualforce Page Attributes In this example we are trying to name the PDF "Hello" <apex:page title="PDFPage" renderAs="pdf" standardStylesheets="false" standardcontroller="...
TheArchitecta's user avatar
4 votes
1 answer

HTML5 DocType not getting set

Any idea why this is not generating an html5 doctype in my pages? <apex:page applyBodyTag="false" applyHtmlTag="false" showHeader="false" cache="false" contentType="text/html" sidebar="false" ...
Trace's user avatar
  • 43
0 votes
1 answer

File Upload and automatically save into attachment

I have created visualforce which displays to upload file and save button functionality. I have used to upload and its working properly in salesforce1 by clicking on save. Now I want to change the ...
Dipen Ishani's user avatar
1 vote
1 answer

Can you set an html docType on a Visualforce Email Template?

I can't find any way to control docType of any type of email in Salesforce. First I tried Custom and then I tried Visualforce. Any ideas? Thanks!
mjgallag's user avatar
  • 965
0 votes
3 answers

Why style.display = 'block' works only on Firefox?

I'm using the code below : <apex:outputPanel id="myID" style="display: none;"> ... </apex:outputPanel> <apex:commandButton value="Display" onclick="display()"/> <script type="...
SF_user's user avatar
  • 3,606