[Solved] Output field question

gh0st Asks: Output field question
I am working on the Account VisualForce page, and on that page I have a custom field that is from a different object. I am able to display that field from the different object but right now it is in a table. Is there a way to output the field value without a table, but just a single line of text given that I also have to have the reference for the value and variable. Below is what I have now, but only want the output to be a line of text, not in a table or anything else. Thanks.

Code:
<apex:pageBlockTable width="100%" cellpadding="1" cellspacing="1" 
                     value="{!contactList}" var="con" border="0" 
                     frame="none" id="table1">
    <apex:column>
        <apex:outputField value="{!con.CustomField__c}"
            rendered="{!con.CustomField__c != NULL}" 
        />
    </apex:column>
</apex:pageBlockTable>

The field displays as expected; it shows the value for that field for that record. What I want to do is not use a table because the field is already in a larger table and a panel, so how can I declare those variables another way so the field just shows as a line of text?

I just want to show the <apex:outputField value="{!con.CustomField__c}" rendered="{!con.CustomField__c != NULL}" /> without a table but where do the variables go?

Ten-tools.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your response here to help other visitors like you. Thank you, Ten-tools.