Code: Select all
<?xml version='1.0' encoding='UTF-8' ?>
<!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" xmlns:h="http://java.sun.com/jsf/html" xmlns:p="http://primefaces.prime.com.tr/ui">
<h:head ><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></h:head>
<h:body>
<div style="float: left; min-width: 100px; width: 100px; background-color: red; height: 600px;">
TESTING
</div>
<div style="padding-left: 200px; background-color: yellow; height: 300px;">
<p:panel header="testing">
</p:panel>
</div>
<div style="clear: both" />
</h:body>
</html>
If I am doing something wrong please tell me! I just can't get the new PF to work with this kind of layout. I know if has to do with float: left;, but if I remove that I don't get a two column layout. I am desperate, at the point in a project where I need to get this working, or stick with the old version.