Note that there are some explanatory texts on larger screens.

plurals
  1. POhow to make pannel's height with position relative grow
    primarykey
    data
    text
    <p>Here is my problem:</p> <p><code>PNlmain</code> is the main panel in which tourists details written</p> <p><code>pnlTouristInfo</code> - holds the data for one tourist. As in the system you can make reservation only for up to three tourists - height is 32%. <code>PnlMai</code> holds <code>pnlTouristsInfo</code>.</p> <p><code>pnlName</code> and <code>pnlCharge</code>s holds the info for the name and the charges for a tourist. they fill up the whole space of <code>pnlTouristInfo</code>.</p> <p>So the tourist can have only one name - but he can have a lot of Charges - that's why I have <code>pnlChargesItem</code>. </p> <p><strong>The problem is - if the tourist fills a lot of extra charges how to make <code>pnlCharge</code>s and <code>pnlNam</code>e grow.So if they grow also <code>pnlTouristInfo</code> and <code>pnlMain</code> should grow relatively. Also if the tourist for example adds only one charge I want to save the <code>min-height</code> of 32% of <code>pnlTouristInfo</code></strong></p> <p>Sorry fr the question but I hate css - and I'm new to it </p> <pre><code> .pnlMain { width:90%; min-height:50%; height:50%; border-top:solid 3px blue; margin:auto; } .pnlTouristInfo { position:relative; width:99%; min-height:32%; height:32%; border: solid 2px RGB(204,204,204); } .pnlNames { position:relative; width: 28.5%; height:99%; border-right :solid 0.8px RGB(204,204,204); float:left; text-align:left; } .pnlCharges { position:relative; width: 71%; height:99%; /*border:solid 1px RGB(204,204,204);*/ float:right; } .pnlChargesItem { position:relative; width: 100%; height:auto; border-bottom:0.8px solid RGB(204,204,204); text-align:left; float:left; } .pnlChargesName { position:relative; width: 84%; height:100%; border-right:0.8px solid RGB(204,204,204); text-align:left; float:left; } .pnlChargesPrice { position:relative; width: 15%; height:100%; text-align:left; float:right; } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload