Following is my code which is working fine as a VF page on preview, but no styling adding on rendering as PDF renderAs="PDF"
. Let me know what I am doing wrong as I am new to the platform.
Code -
<apex:page>
<!-- Adding CSS -->
<!-- <apex:stylesheet value="{!URLFOR($Resource.SLDS092, 'assets/styles/salesforce-lightning-design-system-vf.css')}" /> -->
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" />
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css" />
<div class="container">
<div class="row">
<div class="col-md-6">.col-md-6</div>
<div class="col-md-6">.col-md-6</div>
</div>
<div class="row">
<div class="col-md-8">.col-md-8</div>
<div class="col-md-4">.col-md-4</div>
</div>
<div class="row">
<div class="col-md-4">.col-md-4</div>
<div class="col-md-4">.col-md-4</div>
<div class="col-md-4">.col-md-4</div>
</div>
<div class="row">
<div class="col-md-6">.col-md-6</div>
<div class="col-md-6">.col-md-6</div>
</div>
</div>
</apex:page>
bootstrap-3.3.5-dist.zip
as a static resource and using like -<apex:stylesheet value="{!URLFOR($Resource.bootstrap, 'bootstrap-3.3.5/css/bootstrap.min.css')}" /> <apex:stylesheet value="{!URLFOR($Resource.bootstrap, 'bootstrap-3.3.5/css/bootstrap-theme.min.css')}" />
but stylesheet is not comingbootstrap
is the name of my static folderrenderAs=pdf