+ Start a Discussion
RICARDO PALMARICARDO PALMA 

How to add blank line or break to a visualforpage?

Hi, 
I have a Visualforce page, displaying multiples records on a pageBlockTable. I would like to add a line or a break when the account changes.
Example:
Account:                Price:
Abc                        3.00
Abc                        4.00
Abc                        2.00


Dallas Acc              2.00
Dallas Acc              5.00

Thanks.
William TranWilliam Tran
Try the <BR> tag

thx
JeffreyStevensJeffreyStevens
Ya - the <br> tag is correct, but I doubt that you know when it needs to be rendered.  Sounded like he doesn't want to render the line break on each record of the pageBlockTable.  If you're duplicating the account name, you need to have the controller tell you when it's a account (or the last record for an account).  Then you can put the <br> in a outputText and render it when that flag is set.
RICARDO PALMARICARDO PALMA
I will try it.
Thanks guys for your help.