ColdFusion - How to use CFLAYOUT with type hbox and CFPOD

cflayout with type hbox and cfpod

cflayout.cfm


<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ColdFusion cflayout tag example: how to use cflayout with type hbox and cfpod</title>
</head>

<body>
<h2 style="color:DodgerBlue">cflayout example: How to use</h2>
<cflayout name="ImageExplorer" type="hbox">
 <cflayoutarea name="OrchidImage">
        <cfpod 
            title="Orchid" 
            height="400" 
            width="475"
            >
            <img src="./Images/Orchid.jpg" />
        </cfpod>
    </cflayoutarea>
 <cflayoutarea name="Orchid1Image">
        <cfpod 
            title="Orchid" 
            height="300" 
            width="360"
            >
            <img src="./Images/Orchid1.jpg" />
        </cfpod>
    </cflayoutarea>
</cflayout>
</body>
</html>





More ColdFusion examples