EvotecIT / PSWriteHTML

PSWriteHTML is PowerShell Module to generate beautiful HTML reports, pages, emails without any knowledge of HTML, CSS or JavaScript. To get started basics PowerShell knowledge is required.
MIT License
826 stars 106 forks source link

Section in section below echt other #425

Closed DonDom86 closed 9 months ago

DonDom86 commented 9 months ago

Hello, how can the subsections be arranged one below the other? Many thanks for your feedback.

`New-HTML {

    New-HTMLSection -HeaderText 'Section' -CanCollapse {
        for($i = 1; $i -lt 10; $i++)
        {     
            New-HTMLSection -HeaderText $('Sub-Section ' + $i) -CanCollapse -Collapsed {

                    New-HTMLText -Text 'Test'

            }
        }
    }

} -Online -FilePath $PSScriptRoot\Test.html -TitleText 'Container Panel Section' -ShowHTML`

Greetings Dom

PrzemyslawKlys commented 9 months ago
    New-HTMLSection -HeaderText 'Test' {
        New-HTMLContainer {
            New-HTMLSection -HeaderText 'Test 1' {
                New-HTMLTable -DataTable $ProcessSmaller
            }
            New-HTMLSection -HeaderText 'Test 2' {
                New-HTMLTable -DataTable $ProcessSmaller
            }
            New-HTMLSection -HeaderText 'Test 3' {

            }
        }
    }
DonDom86 commented 9 months ago

Thank you