• JamieSmith
  • 0 Points
  • Member since 2015
  • Full Stack Developer

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
  • 2
H!! my code is below

<apex:page sidebar="false" standardStylesheets="false" showHeader="false" applyHtmlTag="false">
    <apex:stylesheet value="{!URLFOR($Resource.FoundationAssets, 'css/normalize.css')}"/>
    <apex:stylesheet value="{!URLFOR($Resource.FoundationAssets, 'css/foundation.min.css')}"/>
    <apex:includeScript value="{!URLFOR($Resource.FoundationAssets,'js/vendor/jquery.js')}"/>
    <apex:includeScript value="{!URLFOR($Resource.FoundationAssets,'js/foundation.min.js')}"/>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<!-- Button trigger modal -->
<a href="#" class="button" data-reveal-id="myModal" data-reveal="">Click Me For A Modal</a>

<!-- Modal -->
<div id="myModal" class="reveal-modal medium">
  <h2>Awesome. I have it.</h2>
  <p class="lead">Your couch.  It is mine.</p>
  <p>Im a cool paragraph that lives inside of an even cooler modal. Wins</p>
  <a class="close-reveal-modal">&#215;</a>



I'm using custom labels on my visualforce page.  This generally works ok however in a popup screen I have when the custom label is long the apex:pagemessage displays funny (the severity icon is overlapped with the text(.  I was thinking that I could get around this by adding line breaks into the Custom Label but a <br> tag cannot be added when creating a custom label.  Does anyone know if there is a way to do something like this?  I know &nbsp; can be used to add spaces.  For a line break is there a similar non <br> tag which cab be used?  Or is there a way of escaping the <br> when I try to add it to the custom label?


Thanks in advance for any suggestions.