I usually use tables since they are so convenient. But if you want an alternative, you can follow this pattern:
CSS
Code: Select all
div.col1
{
float:left;
width:34%;
}
div.col2
{
width:33%;
display:inline;
}
div.col3
{
float:right;
width:34%;
}
HTML
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Untitled Page</title>
<link rel="Stylesheet" type="text/css" href="ThreeColumn.css" />
</head>
<body>
<div class="col1">Left - Column 1</div>
<div class="col2">Middle - Column 2</div>
<div class="col3">Right - Column 3</div>
</body>
</html>
This isn't a Flare example but you can implement it in a Flare project. If you place other elements in the div elements, the styles can override the expected behavior. For example if you place a p element, a break will be introduced unless the p element is styled not to break.