+ Start a Discussion
Michael Hedrick 2Michael Hedrick 2 

Output link in lightning formatting

I was originally using href to allow the users to access a website but I could not figure out a way to close the Quick Action so I changed the href to an output link.  But now the formatting and alignment is off.  If anyone has any suggection please advise. Thanks
<apex:page standardController="Account"  standardstylesheets="false" lightningStylesheets="true" showheader="false" >

<html xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" lang="en">
      <meta charset="utf-8" />
      <meta http-equiv="x-ua-compatible" content="ie=edge" />
      <title>SLDS ResponsiveDesign Visualforce Page in Salesforce Mobile</title>
      <meta name="viewport" content="width=device-width, initial-scale=1" />
      <apex:slds />
    <script type='text/javascript' src='/canvas/sdk/js/publisher.js'></script>
    function closeAction() {
        Sfdc.canvas.publisher.publish({name: "publisher.close", payload:{ refresh:"true"}});  
 <!-- String JDE = {!Account.JDE__c}; ---->
     <div class="slds-scope">
          <div class="SLDS">
            <div class="slds-grid slds-wrap">   
              <div class="slds-col">
               <!--     <div class="slds-box slds-box_small slds-text-align_center">             
                  <a href='https://test.com/format=HTML&Download=false&prompt=false&p_VendorNo={!Account.JDE__c}'>Test Report</a> ---></div> 
                  <apex:outputlink value="https://test.com/format=HTML&Download=false&prompt=false&p_VendorNo={!Account.JDE__c}" onclick="closeAction();" >Sourcing POs</apex:outputlink>
             <!--     </div>  --->