Asset listing - items running together horizontally

Okay that wasn't a good topic title but it was hard to describe!


I have an asset listing page. I've set custom type formats and have used this code for the various formats:

    %asset_short_name% [PDF %asset_file_size_readable%]


Only problem is, when I view the asset listing, everything runs together along the lines e.g.:
Document 1 [Word 65.5 kb]Document 2 [Word 23.0 kb]Document 3[PDF 70.4 kb]Document 4[PDF 1.1 mb]Document 5 [PDF 604.9 kb]

Instead of:
Document 1 [Word 65.5 kb]
Document 2 [Word 23.0 kb]
Document 3[PDF 70.4 kb]
Document 4[PDF 1.1 mb]
Document 5 [PDF 604.9 kb]

Works ok for standard pages though (which I do not have configured as a special type format).

What am I doing wrong?

Thanks!

Either you have disabled the DIV format or you are missing a BR tag to add the newline.


To check the first one. Open the properties of the DIV that contains that Standard Page code. Is the Presentation Type set to Block Level? If so, make sure that is the same setting for the other type formats.



If those all look fine, you might be missing a (line) break tag:

    %asset_short_name% [PDF %asset_file_size_readable%]

[quote]Either you have disabled the DIV format or you are missing a BR tag to add the newline.


To check the first one. Open the properties of the DIV that contains that Standard Page code. Is the Presentation Type set to Block Level? If so, make sure that is the same setting for the other type formats.



If those all look fine, you might be missing a (line) break tag:

    %asset_short_name% [PDF %asset_file_size_readable%]
[/quote]

Thanks for the super fast reply, Greg. The DIV properties was the ticket. Thanks again!

Something to be mindful of: if you need your site to be XHTML compliant, setting the DIV for the type format to 'Block' will print the DIV's ID for each item in the listing (eg <DIV id="xyz"...>). Technically, IDs must be unique on each page.

I'd suggest perhaps setting the Presentation Type to Raw HTML and either adding a <BR /> tag at the end of the line, or wrapping the line in <P>...</P> tags.