function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Mitch_AMSMitch_AMS 

VF Template Question

I have the following template

 

<apex:page showHeader="false" id="amsTemplate">
  <apex:image id="AMSHeader" value="https://PATH2IMAGEONSALESFORCE" width="100%" height="120"/>
  <apex:insert name="header">
      <hr/>
  </apex:insert>
  <apex:insert name="leftnav"/>
  <apex:insert name="body"/>
  <apex:insert name="footer">
      <hr/>
  </apex:insert>
</apex:page>

 

Which I'm having trouble figuring out how to get "leftnav" to show up in the same row (column1) as "body" (column2)

 

as it is now. "leftnav" appears above "body"  I tried... using html <table> and <tr><td> but that didn't work either...  I also couldn't find any referenced in the component reference that discused how to to this either...

 

Any Suggestions???

bob_buzzardbob_buzzard

I'm surprised that using tables didn't work.  

 

You should be able to do this via a CSS float, something like:

 

<div style="float:left>
  <apex:insert name="leftnav"/>
</div>
<div>
  <apex:insert name="body"/>
</div>

 The leftnav should then be pushed to the left, and the body should appear to its right.