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

URGENT!!! Display image on VF page
I am trying to display images on Vf page which i am able to but I want to display images horizantally on my VF page.
below is my VF page code which now displays images vertically.
below is my VF page code which now displays images vertically.
<apex:page standardController="Account" extensions="AccountController" showHeader="false" sidebar="false" standardStylesheets="false"> <table class="detailList" border="0" cellpadding="0" cellspacing="5"> <apex:repeat value="{!Images}" var="I"> <tr> <td><image src="{!I.url}" alt="{!I.name}"/></td> </tr> </apex:repeat> </table> </apex:page>
Try...
Just a guess though.
All Answers
Try...
Just a guess though.
<!DOCTYPE html> <html > <head> <style type="text/css"> #holder { display:table-cell; vertical-align:middle; text-align:center; height:300px; width:300px; border: 5px solid blue; } </style> </head> <body> <div id="holder"> <img src="duck.png"> </div> </body> </html>
Note: vertical-align may be middle,right,left