Uncaught exception 'DOMPDF_Exception' with message 'Min/max width is undefined for table rows'

3,183 views
Skip to first unread message

anex mellen

unread,
Jan 14, 2016, 8:54:17 PM1/14/16
to dompdf
Hi Guys,

did anyone solve the issue regarding the error below:

<br />
<b>Fatal error</b>:  Uncaught exception 'DOMPDF_Exception' with message 'Min/max width is undefined for table rows' in /home/thoughtw/public_html/ionmy/dompdf/include/table_row_frame_reflower.cls.php:59
Stack trace:
#0 /home/thoughtw/public_html/ionmy/dompdf/include/frame_decorator.cls.php(715): Table_Row_Frame_Reflower-&gt;get_min_max_width()
#1 /home/thoughtw/public_html/ionmy/dompdf/include/frame_reflower.cls.php(193): Frame_Decorator-&gt;get_min_max_width()
#2 /home/thoughtw/public_html/ionmy/dompdf/include/frame_decorator.cls.php(715): Frame_Reflower-&gt;get_min_max_width()
#3 /home/thoughtw/public_html/ionmy/dompdf/include/frame_reflower.cls.php(193): Frame_Decorator-&gt;get_min_max_width()
#4 /home/thoughtw/public_html/ionmy/dompdf/include/frame_decorator.cls.php(715): Frame_Reflower-&gt;get_min_max_width()
#5 /home/thoughtw/public_html/ionmy/dompdf/include/frame_reflower.cls.php(193): Frame_Decorator-&gt;get_min_max_width()
#6 /home/thoughtw/public_html/ionmy/dompdf/include/frame_decorator.cls.php(715): Frame_Reflower-&gt;get_min_max_width()
 in <b>/home/thoughtw/public_html/ionmy/dompdf/include/table_row_frame_reflower.cls.php</b> on line <b>59</b><br />

or does anyone have any suggestion aside from tidying the html document as i already follow  some advise from other forums and still getting this issue.



thanks in advance.

cheers,
anex 

BrianS

unread,
Jan 14, 2016, 9:07:55 PM1/14/16
to dompdf
We would need to be able to reproduce it before we could give you any advice. Do you have some sample HTML that reproduces the issue?

Stan Smith

unread,
Feb 4, 2016, 8:41:15 AM2/4/16
to dom...@googlegroups.com
I have the same problem. Here is my html code from Laravel template

<!DOCTYPE html>
<html>
<head>
   
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<style>
       
.nobr {
            white
-space: nowrap;
       
}

        td
{
            font
-family: Verdana, Arial, sans-serif;
            font
-size: 7pt;
            font
-weight: normal;
            color
: black;
            line
-height: 7pt;
       
}

       
.greatHeader {
        font
-family: Verdana, Arial, sans-serif;
        font
-size: 16pt;
        font
-weight: normal;
        color
: #000000;
        padding
-left: 11px;
       
}

       
.header1 {
        font
-family: Verdana, Arial, sans-serif;
        font
-size: 13pt;
        color
: #000000;
        padding
-right: 10px;
        padding
-bottom: 3px;
       
}

       
.smallFont {
        font
-family: Verdana, Arial, Helvetica, sans-serif;
        font
-size: 8pt;
        color
: #000000;
       
}

       
.smallFont a {
            font
-family: Verdana, Arial, Helvetica, sans-serif;
            font
-size: 8pt;
            text
-decoration: none;
            color
: #3A76B1;
       
}

       
.smallFont a:hover {
            text
-decoration: underline;
       
}

        h1
{
            font
-family: Verdana, Arial, sans-serif;
            font
-size: 15pt;
            color
: #000000;
            font
-weight: normal;
            margin
-top: 0px;
       
}

       
.title {
        font
-family: Verdana, Arial, sans-serif;
        font
-size: 15pt;
        color
: #000000;
        font
-weight: normal;
        margin
-top: 0px;
       
}

       
.header2 {
        font
-family: Verdana, Arial, sans-serif;
        font
-size: 14px;
        font
-weight: bold;
        color
: #362F2D;
       
}

       
.pageSubheader {
        font
-family: Verdana, Arial, sans-serif;
        font
-size: 12pt;
        color
: #000000;
        font
-weight: normal;
       
}

       
.smallhead {
        border
-bottom: 0px;
       
}

       
.largeText {
        font
-family: Verdana, Arial, sans-serif;
        font
-size: 18px;
        font
-weight: bold;
       
}

       
.largeText_normal {
        font
-family: Verdana, Arial, sans-serif;
        font
-size: 18px;
       
}

       
.greatText {
        font
-family: Verdana, Arial, sans-serif;
        font
-size: 22px;
        font
-weight: bold;
       
}

       
.pageHeader {
        font
-family: Verdana, Arial, sans-serif;
        font
-size: 15pt;
        color
: #000000;
        font
-weight: normal;
        background
-color: #F5EBD6;
        margin
-top: 0px;
        padding
-left: 10px;
        padding
-top: 7px;
        padding
-bottom: 5px;
       
}

        html
,body {
            height
: 100%;
            margin
: 0px;
            padding
: 5px;
            background
-color: #FFFFFF;
            font
-family: Verdana, Arial, sans-serif;
            font
-size: 10pt;
       
}

        form
{
            height
: 100%;
            margin
: 0px;
            padding
: 0px
       
}

       
.separator {
        overflow
: hidden;
       
}

       
.list {
        margin
-top: 0px;
        border
: 1px solid #B1B1B1;
       
}

       
.list td {
            padding
-left: 5px;
            padding
-right: 5px;
            border
-top: 1px solid #B1B1B1;
       
}

       
.list th {
            padding
-left: 5px;
            padding
-right: 5px;
            font
-family: Verdana, Arial, sans-serif;
            font
-size: 10pt;
            font
-weight: bold;
            color
: #000000;
            height
: 24px;
            background
-color: #F0F0F0;
       
}

       
.list_rightBorder {
        border
-right: 1px solid #BFBFBF;
       
}

       
.listFooter {
        background
: #F7F7F7;
        border
-top: 1px solid #D9D9D9;
        font
-weight: bold;
       
}

       
.complexList {
        margin
-top: 0px;
        border
-right: 1px solid #B1B1B1;
        border
-left: 1px solid #B1B1B1;
        border
-bottom: 1px solid #B1B1B1;
       
}

       
.complexList td {
            padding
-left: 5px;
            border
-top: 1px solid #B1B1B1;
       
}

       
.complexList th {
            padding
-left: 5px;
            font
-family: Verdana, Arial, sans-serif;
            font
-size: 10pt;
            font
-weight: bold;
            color
: #000000;
            height
: 24px;
            border
-right: 1px solid #B1B1B1;
            border
-top: 1px solid #B1B1B1;
       
}

       
.complexList th a {
            font
-family: Verdana, Arial, sans-serif;
            font
-size: 10pt;
            font
-weight: bold;
       
}

       
.complexList thead,.head {
            background
-color: #F0F0F0;
       
}

         
/*Folder document view styles */
       
.treeDocumentListViewTable {
        padding
-left: 20px;
        padding
-bottom: 2px;
       
}

       
.treeDocumentListViewContent {
        padding
-left: 40px;
        font
-family: Verdana, Arial, Helvetica, sans-serif;
        font
-size: 8pt;
        color
: #000000;
       
}

       
.treeDocumentListViewContent a {
            font
-size: 8pt;
            color
: #0000FF;
       
}

       
.treeDocumentListViewTable th {
            font
-weight: bold;
            padding
-left: 0px;
            padding
-top: 1px;
            font
-size: 10pt;
       
}

       
.treeDocumentListTable {
        padding
-bottom: 2px;
       
}

       
.treeDocumentListTable th {
            font
-weight: bold;
            padding
-left: 10px;
            padding
-top: 1px;
            font
-size: 10pt;
       
}

       
.treeDocumentListTable td {
            padding
-left: 10px;
            padding
-right: 2px;
            padding
-top: 1px;
            padding
-bottom: 1px;
       
}

       
.dampedText {
        color
: #888888 !important;
       
}

       
/* mt*/
       
.underlined {
            border
-bottom: 1px solid #000000;
       
}

       
.b_left {
            border
-left: 1px solid #000000;
       
}

       
.b_right {
            border
-right: 1px solid #000000;
       
}

       
.b_bottom {
            border
-bottom: 1px solid #000000;
       
}

       
.b_top {
            border
-top: 1px solid #000000;
       
}

       
.b_light_left {
        border
-left: 1px solid #CCCCCC;
       
}

       
.b_light_right {
        border
-right: 1px solid #CCCCCC;
       
}

       
.b_light_bottom {
        border
-bottom: 1px solid #CCCCCC;
       
}

       
.b_light_top {
        border
-top: 1px solid #CCCCCC;
       
}

       
.item_cell {
            height
: 4mm;
       
}

       
.name_cell {
            height
: 4mm;
            padding
-right: 2mm;
       
}

       
.docNameLabels {
            padding
-top: 1mm;
            padding
-bottom: 1mm;
            padding
-left: 3mm;
            padding
-right: 3mm;
       
}

       
.docNameValues {
            border
-width: 2px !important;
       
}

       
.mainTable td {
            text
-align: center;
            font
-family: Verdana, Arial, Helvetica, sans-serif !important;
            font
-size: 7pt;
            color
: #000000 !important;
            padding
: 1px;
       
}

       
.mainTable_normal td {
            text
-align: center;
            font
-family: Verdana, Arial, Helvetica, sans-serif !important;
            font
-size: 7pt;
            color
: #000000 !important;
            padding
: 1px;
       
}

       
.normalfont_cell td {
            font
-size: 10pt !important;
       
}

       
.boldborders td {
            border
-width: 2px !important;
       
}

       
.totals td {
            font
-weight: bold;
       
}

       
.normalFont {
            font
-weight: normal !important;
       
}

       
.rightAlign {
            text
-align: right !important;
       
}

       
.leftAlign {
            text
-align: left !important;
       
}

       
.cellComment {
            font
-size: 6pt !important;
       
}

       
.reportSmallFont {
            font
-family: Verdana, Arial, Helvetica, sans-serif;
            font
-size: 7pt;
            color
: #000000;
       
}

       
.separatorCell {
            font
-size: 1pt !important;
            height
: 5px;
       
}

        p
{
            padding
: 0px;
            margin
-top: 8px;
            margin
-bottom: 8px;
       
}

       
.reportMiddleFont,.reportMiddleFont td,.reportMiddleFont li {
        font
-size: 8pt !important;
       
}
       
.stamp {
            height
: 100px;
            width
: 100px;
            position
: absolute;
            top
: -50px;
       
}
   
</style>
</head>
<body>
<div align=right>
   
<table cellpadding="0" cellspacing="0" border="0" style="width: 100mm">
       
<tr>
           
<td class=reportSmallFont align=left>Приложение № 1<br>
                к Правилам ведения журналов учета полученных и выставленных
                счетов-фактур, книг покупок и книг продаж при расчетах по налогу на
                добавленную стоимость, утвержденным постановлением Правительства РФ от
                02.12.2000 № 914 (в ред. Постановления Правительства РФ от 15.03.2001
                г. № 189, от 27.07.2002 № 575, от 16.02.2004 № 84, от 11.05.2006 №
                283, от 26.05.2009 № 451)
</td>
       
</tr>
       
<tr>
           
<td>&nbsp;</td>
       
</tr>
   
</table>
</div>

<table cellpadding="0" cellspacing="0" border="0"
       
class="mainTable_normal" width="100%">
   
<tr>
       
<td><b>СЧЁТ-ФАКТУРА № <span class="inline_edit">{{ $orderNumber }}</span> от <span class="inline_edit"> {{ date('d.m.Y') }}г.</span></b></td>
   
</tr>
   
<tr>
       
<td>&nbsp;</td>
   
</tr>
</table>

<table cellpadding="0" cellspacing="0" border="0"
       
class="mainTable_normal">
   
<tr>
       
<td class=leftAlign>Продавец:</td>
       
<td class="leftAlign underlined"><b>{{ $selfFirm->organisation_name }}</b></td>
   
</tr>
   
<tr>
       
<td class=leftAlign>Адрес:</td>
       
<td class="leftAlign underlined"><b>{{ $selfFirm->place_address }},&nbsp;(тел.:&nbsp;{{ $selfFirm->phone }})</b></td>
   
</tr>
   
<tr>
       
<td class=leftAlign>ИНН/КПП продавца:</td>
       
<td class="leftAlign underlined"><b>{{ $selfFirm->inn }}/{{ $selfFirm->kpp }}</b></td>
   
</tr>
   
<tr>
       
<td class=leftAlign>Грузоотправитель и его адрес:</td>
       
<td class="leftAlign underlined"><b>{{ $selfFirm->organisation_name }},&nbsp;{{ $selfFirm->place_address }},&nbsp;(тел.:&nbsp;{{ $selfFirm->phone }}), р/счет № {{ $selfFirm->rs }}в {{ $selfFirm->bank }}, кор/счет № {{ $selfFirm->ks }}, БИК {{ $selfFirm->bik }}</b></td>
   
</tr>
   
<tr>
       
<td class=leftAlign>Грузополучатель и его адрес:</td>
       
<td class="leftAlign underlined"><b class="inline_edit">
                {{ $firm->organisation_name }},&nbsp;{{ $firm->place_address }},&nbsp;(тел.:&nbsp;{{ $firm->phone }}), р/счет № {{ $firm->rs }}в {{ $firm->bank }}, кор/счет № {{ $firm->ks }}, БИК {{ $firm->bik }}
</b></td>
   
</tr>
   
<tr>
       
<td colspan=2>&nbsp;</td>
   
</tr>
   
<tr>
       
<td class=leftAlign colspan="2">К платежно-расчетному документу: №
           
<table style="display:inline;"><tr>
                   
<td class="underlined inline_edit" style="width:60mm;">{{ $orderNumber }}</td>
                   
<td>от </td>
                   
<td class="underlined inline_edit" style="width:50mm;">{{ date('d.m.Y') }}г.</td>
               
</tr></table>
       
</td>
   
</tr>
   
<tr>
       
<td colspan="2">&nbsp;</td>
   
</tr>
</table>

<table cellpadding="0" cellspacing="0" border="0"
       
class="mainTable_normal">
   
<tr>
       
<td class=leftAlign>Покупатель:</td>
       
<td class="leftAlign underlined"><b class="inline_edit">{{ $firm->organisation_name }}</b></td>
   
</tr>
   
<tr>
       
<td class=leftAlign>Адрес:</td>
       
<td class="leftAlign underlined"><b class="inline_edit">
                {{ $firm->place_address }}
</b></td>
   
</tr>
   
<tr>
       
<td class=leftAlign>ИНН/КПП покупателя:</td>
       
<td class="leftAlign underlined">
           
<table style="display:inline;"><tr>
                   
<td style="width:50mm;font-weight: bold;" class="inline_edit">{{ $firm->inn }}</td>
                   
<td style="font-weight: bold;">/</td>
                   
<td style="width:50mm;font-weight: bold;" class="inline_edit">{{ $firm->kpp }}</td>
               
</tr></table>
       
</td>
   
</tr>
   
<tr>
       
<td colspan=2>&nbsp;</td>
   
</tr>
   
<tr>
       
<td colspan=2>&nbsp;</td>
   
</tr>
</table>

<table width="100%" border="0" cellpadding=0 cellspacing=0
       
class="mainTable_normal">
   
<tr>
       
<td class="b_left b_top">
            Наименование товара (описание выполненных
<br> работ, оказанных услуг),<br/>имущественного права
       
</td>
       
<td class="b_left b_top">
            Ед.
<br>изм.
       
</td>
       
<td class="b_left b_top">
            Кол-
<br>во
       
</td>
       
<td class="b_left b_top">Цена (тариф)<br>за ед. изм.
       
</td>
       
<td class="b_left b_top">
            Стоимость товаров
<br>(работ, услуг),<br>имущественных прав,<br>всего без налога
       
</td>
       
<td class="b_left b_top">В т.ч.<br>акциз
       
</td>
       
<td class="b_left b_top">Налоговая<br>ставка
       
</td>
       
<td class="b_left b_top">Сумма<br>налога
       
</td>
       
<td class="b_left b_top">
            Стоимость товаров
<br>(работ, услуг),<br>имущественных прав,<br>всего с учетом налога
       
</td>
       
<td class="b_left b_top">Страна<br>происхождения</td>
       
<td class="b_left b_top b_right">№ таможенной<br>декларации</td>
   
</tr>
   
<tr>
       
<td class="b_left b_top">1</td>
       
<td class="b_left b_top">2</td>
       
<td class="b_left b_top">3</td>
       
<td class="b_left b_top">4</td>
       
<td class="b_left b_top">5</td>
       
<td class="b_left b_top">6</td>
       
<td class="b_left b_top">7</td>
       
<td class="b_left b_top">8</td>
       
<td class="b_left b_top">9</td>
       
<td class="b_left b_top">10</td>
       
<td class="b_left b_top b_right">11</td>
   
</tr>
   
<?
    $totalAmount
= 0;
    $totalSumWithoutNds
= 0;
    $totalNds
= 0;
    $totalSumWithNds
= 0;
   
?>
    @foreach($products as $product)
       
<tr>
           
<td class="b_left b_top">{{ $product['product_name'] }}</td>
           
<td class="b_left b_top">шт</td>
           
<td class="b_left b_top">{{ $totalAmount += $product['product_amount'] }}</td>
           
<td class="b_left b_top">{{ $product['product_price'] }}</td>
           
<?
            $sumWithNds
= $product['product_amount'] * $product['product_price'];
            $nds
= $sumWithNds * 0.18;
            $sumWithoutNds
= $sumWithNds - $nds;
           
?>
           
<td class="b_left b_top">{{ $totalSumWithoutNds += $sumWithoutNds }}</td>
           
<td class="b_left b_top">&nbsp;</td>
           
<td class="b_left b_top">18</td>
           
<td class="b_left b_top">{{ $totalNds += $nds }}</td>
           
<td class="b_left b_top">{{ $totalSumWithNds += $sumWithNds }}</td>
           
<td class="b_left b_top">Россия</td>
           
<td class="b_left b_top">-------------</td>
       
</tr>
    @endforeach
   
<tr class=totals>
       
<td colspan=7 class="b_left b_top b_bottom">
           
<table class=mainTable_normal border="0" cellpadding=0 cellspacing=0
                   
width="100%">
               
<tr>
                   
<td class="leftAlign nobr"><b>Всего к оплате</b></td>
                   
<td class="rightAlign nobr"><b>{{ \App\Models\Order::num2str($totalSumWithoutNds) }}, без налога (НДС)</b></td>
               
</tr>
           
</table>
       
</td>
       
<td class="b_left b_top b_bottom rightAlign">{{ $totalNds }}</td>
       
<td class="b_left b_top b_bottom rightAlign nobr">{{ $totalSumWithNds }}</td>
       
<td class="b_left b_top">&nbsp;</td>
       
<td class="b_top">&nbsp;</td>
   
</tr>
</table>

<table cellpadding="0" cellspacing="0" border="0"
       
class="mainTable_normal" width="100%">
   
<tr>
       
<td>&nbsp;</td>
   
</tr>
   
<tr>
       
<td>&nbsp;</td>
   
</tr>
</table>

<table cellpadding="0" cellspacing="0" border="0"
       
class="mainTable_normal" width="100%">
   
<tr>
       
<td style="width: 45mm" class="nobr"><b>{{ $selfFirm->face_position }}</b></td>
       
<td class=underlined>&nbsp;</td>
       
<td style="width: 5mm">&nbsp;</td>
       
<td class="underlined nobr" style="width: 45mm"><b>{{ $selfFirm->face_fio }}</b></td>
       
<td style="width: 15mm">&nbsp;</td>
       
<td style="width: 55mm" class="nobr"><b>Главный бухгалтер</b></td>
       
<td class=underlined>&nbsp;</td>
       
<td style="width: 5mm">{{ $selfFirm->accauntant_fio }}</td>
       
<td class="underlined nobr" style="width: 45mm"><b>&nbsp;</b></td>
   
</tr>
   
<tr>
       
<td>&nbsp;</td>
       
<td class=smallFont>подпись</td>
       
<td>&nbsp;</td>
       
<td class=smallFont>расшифровка подписи</td>
       
<td>&nbsp;</td>
       
<td>&nbsp;</td>
       
<td class=smallFont>подпись</td>
       
<td>&nbsp;</td>
       
<td class=smallFont>расшифровка подписи</td>
   
</tr>
</table>

<table cellpadding="0" cellspacing="0" border="0"
       
class="mainTable_normal" width="100%">
   
<tr>
       
<td class="nobr" valign="bottom" style="width: 55mm"><b>Индивидуальный предприниматель</b></td>
       
<td class="underlined" style="width: 45mm">&nbsp;</td>
       
<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
       
<td class="underlined nobr" valign="bottom"><b>&nbsp;</b></td>
       
<td style="width: 5mm">&nbsp;</td>
       
<td class="underlined nobr" valign="bottom"><b>&nbsp;</b></td>
   
</tr>
   
<tr>
       
<td>&nbsp;</td>
       
<td class=smallFont>подпись</td>
       
<td>&nbsp;</td>
       
<td class=smallFont>расшифровка подписи</td>
       
<td>&nbsp;</td>
       
<td class=smallFont>(реквизиты свидетельства о государственной регистрации<br/>индивидуального предпринимателя)</td>
   
</tr>
</table>

<br/>
<br/>
<p>Примечание. Первый экземпляр - покупателю, второй экземпляр - продавцу.</p>

</body>
</html>


I put styles in the file may be needed

BrianS

unread,
Feb 4, 2016, 8:20:38 PM2/4/16
to dompdf
That's quite a document. I'll take a look, but it would help immensely if you could simplify down to the smallest amount of code that reproduces the issue.


On Thursday, February 4, 2016 at 8:41:15 AM UTC-5, Stan Smith wrote:
I have the same problem. Here is my html code from Laravel template
... 

BrianS

unread,
Feb 4, 2016, 8:44:01 PM2/4/16
to dompdf
Your particular problem appears to be related to styling tables as inline elements:

<table style="display:inline;">...</table>

Since dompdf does not yet support anonymous table objects it doesn't know how to handle table elements that do not conform to the expected table > tr > td structure.

I don't see much reason for styling a table as such in your structure anyway since there no other content around it. If you were actually trying to inline a table what would work better would be to put it inside an element styled with display: inline-block;. But, as I said, it doesn't seem to actually be necessary in your particular sample.



On Thursday, February 4, 2016 at 8:41:15 AM UTC-5, Stan Smith wrote:
I have the same problem. Here is my html code from Laravel template

Stan Smith

unread,
Feb 5, 2016, 12:14:54 AM2/5/16
to dompdf
Thank you so much

nehal....@mobiosolutions.com

unread,
Sep 27, 2017, 9:14:33 PM9/27/17
to dompdf
Hey Brian

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">
  
</head>

<body >
  
    <table border="0" width="100%" cellspacing="5" cellpadding="5" style="max-width: 1170px; margin: 0 auto; padding: 10px;">
        <tbody>
        <tr>
            <td align="right" valign="top" width="100%" style="padding-bottom: 0;">
                <span style="float:right; padding:0 0px;"> <img src="img/Playitsafe_logo.jpg" width="100" alt="Images"></span>
                    <span style="float:right; padding:0 10px ;  border-right:2px solid #000;"> <img src="img/Education_logo.jpg" width="100" alt="Images"></span>
                    <span style="float:right; padding:0 0px;  border-right:2px solid #000;"> <img src="img/Logo.jpg" width="100" alt="Images"></span>

                  </td>
            </tr>
            <tr>
            <td  style="padding-top: 0;">
                <h2 style="border-bottom:5px solid #000; font-size: 20px; margin:0">GROUP SUPERVISOR – PRE-PROGRAM REPORT FORM</h2>
                </td>
            </tr>
            <tr>
            <td style="padding-top: 0; padding-bottom: 0;">
                <p style="font-size:16px; margin:0; color: #000; margin:0; text-align: justify;">The purpose for this Report Form is to ensure Program Team Leaders and Group Supervisors have discussed roles and responsibilities and safety measures prior to the commencement of today’s LSV program.  This allows any foreseeable issues or risks identified and the opportunity to mitigate.  As outlined in the <strong>Department of Education & Training’s (DE&T) School Policy & Advisory Guide: Recreational Swimming – People</strong> ‘where not directly responsible for the instruction of the activity or assisting the instructor, the teacher responsible for the activity must understand the activity and the environment in which it will be conducted. This teacher must confer with the designated instructor about the supervisory role and establish areas of responsibility. If this teacher is not the designated instructor, he/she is to act on the advice of the designated instructor on technical safety issues.’  If you have any questions, please discuss directly with the Program Team Leader.  Please note, LSV has the right to cancel or modify a program immediately if the allocated Group Supervisor fails to adhere to the roles and responsibilities as determined and agreed to with the Program Team Leader. </p>
                </td>
            </tr>
        
            <tr>
            <td style="padding-top: 0;"> 
                <table border="1" width="100%" cellpadding="5" style="border-collapse: collapse; border:none; font-size: 14px; margin-bottom: 0;" >
                    <tbody style=" border: 1px solid black; font-weight: bold;">
                        <tr valign="middle" style="background:#e1e1e1; font-size: 18px; ">
                            <td colspan="4">PROGRAM DETAILS</td>
                            </tr>
                            <tr style="font-weight: 600; font-size: 14px;">
                                <td width="400" align="right">PROGRAM TEAM LEADER NAME</td>
                                <td>&nbsp;</td>
                                <td align="center" width="100">DATE</td>
                                <td width="150">&nbsp;</td>
                            </tr>
                            <tr style="font-weight: 600; font-size: 14px;">
                                <td align="right">GROUP NAME</td>
                                <td colspan="3">&nbsp;</td>
                            </tr>
                            <tr style="font-weight: 600; font-size: 14px;">
                                <td align="right">GROUP SUPERVISOR FULL NAME</td>
                                <td colspan="3">&nbsp;</td>
                            </tr>
                            <tr style="font-weight: 600; font-size: 14px;">
                                <td align="right">GROUP SUPERVISOR ROLE AT SCHOOL</td>
                                <td colspan="3">&nbsp;</td>
                            </tr>
                            <tr style="font-weight: 600; font-size: 14px;">
                                <td align="right">TOTAL NUMBER OF PROGRAM PARTICIPANTS</td>
                                <td colspan="3">&nbsp;</td>
                            </tr>
                         
                        </tbody>
                    </table>
                </td>
            </tr>
          <tr>
            <td style="padding-top:0;">
                <table border="1" width="100%" cellpadding="5" style="border-collapse: collapse; border:none; font-size: 14px; margin-bottom: 0;">
                    <tbody style="border: 1px solid black;">
                        <tr align="center" style="background:#CCC; font-weight: bold">
                            <td width="250" align="left" style="font-size: 18px;">I, as the GROUP SUPERVISOR for today’s program:</td>
                                <td width="10">YES</td>
                                 <td width="10">No</td>
                                 <td width="150">COMMENTS <br>
                                 <span style="font-size:13px;">*If ticked ‘NO’, please detail here</span></td>
                            </tr>
                            <tr style="font-size:14px;">
                            <td width="250" align="left">Have in my possession the consent forms and emergency contact numbers for my Group participants, including a class list in case of an emergency evacuation
                                    <ul style="margin: 0; padding: 0 0 0 10px;">
                                        <li style="list-style: none; width: 100%; float: left;">
                                            <span style="font-size: 20px; margin-right: 10px;">-</span>
                                            Monitoring participant behavior and supervision during breaks (including lunch)
                                        </li>
                                         <li style="list-style: none; width: 100%; float: left;">
                                            <span style="font-size: 20px; margin-right: 10px;">-</span>
                                            Supervising toilet visits
                                        </li>
                                            <li style="list-style: none; width: 100%; float: left;">
                                            <span style="font-size: 20px; margin-right: 10px;">-</span>
                                            Attending to minor first aid incidents
                                        </li>
                                    </ul>
                                </td>
                                
                                <td width="10" align="center"></td>
                                 <td width="10" align="center"></td>
                                 <td width="150">&nbsp;</td>
                            </tr>
                        
                            <tr style="font-size:14px;">
                            <td width="250" align="left">Understand the roles and responsibilities of the Program Team Leader and Program Instructors, including:
                                    <table border="0">
                                        <tr style="border: none;">
                                        <td style="border: none; width: 100%; float: left;">
                                            <span style="font-size: 20px; margin-right: 10px;">-</span>
                                            The management of major incidents i.e. Communication Flowchart (13 SURF)
                                        </td>
                                        </tr>   
                                        <tr style="border: none;">
                                         <td style="border: none; width: 100%; float: left;">
                                            <span style="font-size: 20px; margin-right: 10px;">-</span>
                                            The management of major first aids   
                                        </td>
                                            </tr>   
                                        <tr style="border: none;">
                                            <td style="border: none; width: 100%; float: left;">
                                            <span style="font-size: 20px; margin-right: 10px;">-</span>
                                            Program delivery
                                        </td> 
                                            </tr>   
                                        <tr style="border: none;">
                                        <td style="border: none; width: 100%; float: left;">
                                            <span style="font-size: 20px; margin-right: 10px;">-</span>
                                           Monitoring of participant supervision ratios
                                        </td>
                                        </tr>    
                                    </table>
                                </td>
                                
                                <td width="10" align="center"></td>
                                 <td width="10" align="center"></td>
                                 <td width="150">&nbsp;</td>
                            </tr>
                             <tr style="font-size:14px;">
                            <td width="250" align="left">Have updated the Program Team Leader on my group participant’s swimming ability.  I have identified those group participants who do not meet the minimum swimming ability as recommended by LSV (see below) </td>
                                <td width="10" align="center"></td>
                                 <td width="10" align="center"></td>
                                 <td width="150">&nbsp;</td>
                            </tr>
                            <tr style="font-size:14px;">
                            <td width="250" align="left">Have updated the Program Team Leader on any relevant participant medical conditions and/or special needs, and have in possession the action plans and medication required</td>
                                <td width="10" align="center"></td>
                                 <td width="10" align="center"></td>
                                 <td width="150">&nbsp;</td>
                            </tr>
                            <tr style="font-size:14px;">
                            <td width="250" align="left">Have a First Aid Kit readily available</td>
                                <td width="10" align="center"></td>
                                 <td width="10" align="center"></td>
                                 <td width="150">&nbsp;</td>
                            </tr>
                            <tr style="font-size:14px;">
                            <td width="250" align="left">Have a Working Mobile Phone readily available</td>
                                <td width="10" align="center"></td>
                                 <td width="10" align="center"></td>
                                 <td width="150">&nbsp;</td>
                            </tr>
                            <tr style="font-size:14px;">
                            <td width="250" align="left">Understand that a minimum TWO Group Supervisors/Leaders/Teachers must remain at the program venue at all times for the duration of the program</td>
                                <td width="10" align="center"></td>
                                 <td width="10" align="center"></td>
                                 <td width="150">&nbsp;</td>
                            </tr>
                            <tr style="font-size:14px;">
                            <td width="250" align="left">Understand that the program does NOT include any form of free swimming (unless mutually agreed upon with Program Team Leader only)</td>
                                <td width="10" align="center"></td>
                                 <td width="10" align="center"></td>
                                 <td width="150">&nbsp;</td>
                            </tr>
                            <tr style="font-size:14px;">
                            <td width="250" align="left">Understand that the program may need to be amended due to environmental factors</td>
                                <td width="10" align="center"></td>
                                 <td width="10" align="center"></td>
                                 <td width="150">&nbsp;</td>
                            </tr>
                            <tr style="font-size:14px;">
                            <td width="250" align="left">Understand my duty of care to the group to enforce SunSmart practices at all times during the program </td>
                                <td width="10" align="center"></td>
                                 <td width="10" align="center"></td>
                                 <td width="150">&nbsp;</td>
                            </tr>
                            <tr style="background:#CCC; font-weight: bold">
                            <td colspan="4" align="left" style="font-size: 18px;">GENERAL SWIMMING ABILITY</td>
                            </tr>
                
                                <tr style="font-size:14px;">
                            <td colspan="4" align="left">Life Saving Victoria recommends the following minimum swimming ability for participation: Swim and Survive Level 3
                                    <table border="0">
                                        <tr style="border:none;"></tr>
                                        <td style="border:none; width: 100%; float: left;">
                                            <span style="font-size: 20px; margin-right: 10px;">-</span>
                                          Swim 25 meters freestyle using the correct technique
                                        </td>
                                        </tr>
                                         <tr style="border:none;">
                                         <td style="border:none; width: 100%; float: left;">
                                            <span style="font-size: 20px; margin-right: 10px;">-</span>
                                            Survival scull or tread water for one minute
                                        </td>
                                        </tr>
                                         <tr style="border:none;">    
                                        <td style="border:none; width: 100%; float: left;">
                                            <span style="font-size: 20px; margin-right: 10px;">-</span>
                                          Swim for 1 minute, holding a flotation aid
                                        </td> 
                                        </tr>
                                         <tr style="border:none;">     
                                        <td style="border:none; width: 100%; float: left;">
                                            <span style="font-size: 20px; margin-right: 10px;">-</span>
                                          Surface dive, swim underwater and recover an object from water of chest depth
                                        </td>
                                    </tr>
                                    </table>
                                </td>
                            </tr>
                             <tr >
                            <td colspan="2" align="left" style="font-weight: bold; font-size: 18px;">GROUP SUPERVISOR SIGNATURE

                                </td>
                                 <td colspan="2">&nbsp;

                                </td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>
</body>
</html>

Above is my code and it is giving me the same error: "Min/max width is undefined for table rows". Please guide :)

BrianS

unread,
Sep 27, 2017, 9:29:53 PM9/27/17
to dompdf
This is a pretty old question. Next time might as well start a new discussion.

Which version of Dompdf are you using? What's your page size? I was able to render OK with version 0.7.0 or higher with a legal size page, though the render isn't quite right. I'm not seeing that error at all.


On Wednesday, September 27, 2017 at 9:14:33 PM UTC-4, a wonderous dompdf user wrote:
Hey Brian
...

Nehal Kapadia

unread,
Sep 28, 2017, 12:25:57 AM9/28/17
to dom...@googlegroups.com
I got the solution. It was a mistake from my end. There was an error in tr, td structure of HTML. Thank you for the help though :)

Best Regards

Nehal Kapadia

|

Web Developer






BrianS

unread,
Sep 28, 2017, 11:21:45 AM9/28/17
to dompdf
Ah yes, that makes sense. I pretty much always have the HTML5 parser enabled and it fixes a lot of structural errors such as that. I should remember to disable it when I'm debugging render issues.

Nehal Kapadia

unread,
Sep 29, 2017, 12:25:25 AM9/29/17
to dom...@googlegroups.com
But it helps to fix a lot of HTML errors :)

Best Regards

Nehal Kapadia

|

Web Developer

--
You received this message because you are subscribed to a topic in the Google Groups "dompdf" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dompdf/XGH43-P8nOA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dompdf+unsubscribe@googlegroups.com.
To post to this group, send email to dom...@googlegroups.com.
Visit this group at https://groups.google.com/group/dompdf.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages