I have the following dialog defined:
<p:dialog id="dialog" header="Request Detail"
widgetVar="requestDialog" resizable="false" showEffect="fade"
hideEffect="fade" >
<h:panelGrid id="display" columns="2" border="1" cellpadding="4" columnsclasses="width:200px;width:450px;"
style="vertical-align:top" >
<!-- SNIP -->
<h:outputText value="Status Notes:" styleClass="newCourier" />
<h:outputText value="#{uploadStatus.selectedRequest.statusNotes}" styleClass="newCourier"
escape="false" />
</h:panelGrid>
</p:dialog>
How do I get Status Notes
to align/appear at the top of it's grid?
I've tried adding style="float:top"
into its h:outputText
tag, and a number of other things.
If it matters, here is the definition for .newCourier
:
.newCourier {
font-family: courier new;
}
I appreciate any help. Thank you.
EDIT:
Basically, I have a 1 row table with 2 columns (I have other rows but am only concerned about this one). The first column is just "Status Notes". The second column is of variable length but can be quite large. Right now, "Status Notes" gets centered in its column box BUT I want it to be vertically aligned at the top of its column box instead.
EDIT2:
What I'm trying to achieve...