You need to sign in to do that
Don't have an account?

How to use PanelGroup to display text & image
Hi there.
I'm sure this is a very trivial question,
but I'm trying to display an Image with text above it using PanelGrid and an embedded PanelGroup.
It wont work for me...
I can get the text to appear above the image but then each image & text is on it's own line.
Cannot figure how to get around this,...
Here's my vf code:
<apex:panelGrid columns="3" width="80%">
<apex:repeat value="{!dataList}" var="interviewEntry">
<apex:panelGroup>
<h2>test</h2>
<a href="{!interviewEntry.communityLink}" class="highlightit">
<img src="{!interviewEntry.intervieweeImage}" class="imgId" />
</a>
</apex:panelGroup>
</apex:repeat>
</apex:panelGrid>
What I get is
test
------
| |
| |
------
test2
------
| |
| |
------
etc
But I want: test test2
------- ---------
| | | |
| | | |
------- ---------