Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[Help] text area

Hi there I am trying to make a text area next to my stat list and i have no idea how. I am very new to all this. any advice is greatly needed and appreciated div.sheet-tab-content { display: none; } input.sheet-tab1:checked ~ div.sheet-tab1, input.sheet-tab2:checked ~ div.sheet-tab2, input.sheet-tab3:checked ~ div.sheet-tab3, input.sheet-tab4:checked ~ div.sheet-tab4 {     display: block; } input.sheet-tab {     width: 150px;     height: 20px;     position: relative;     top: 5px;     left: 6px;     margin: -1.5px;     cursor: pointer;     z-index: 1; } input.sheet-tab::before {     content: attr(title);     border: solid 1px #a8a8a8;     border-bottom-color: black;     text-align: center;     display: inline-block;          background: #fff;     background: -moz-linear-gradient(to top, #c8c8c8, #fff, #c8c8c8);     background: -webkit-linear-gradient(to top, #c8c8c8, #fff, #c8c8c8);     background: -ms-linear-gradient(to top, #c8c8c8, #fff, #c8c8c8);     background: -o-linear-gradient(to top, #c8c8c8, #fff, #c8c8c8);     background: linear-gradient(to top, #c8c8c8, #fff, #c8c8c8);          width: 150px;     height: 20px;     font-size: 18px; } input.sheet-tab:checked::before {     background: #dcdcdc;     background: -moz-linear-gradient(to top, #fcfcfc, #dcdcdc, #fcfcfc);     background: -webkit-linear-gradient(to top, #fcfcfc, #dcdcdc, #fcfcfc);     background: -ms-linear-gradient(to top, #fcfcfc, #dcdcdc, #fcfcfc);     background: -o-linear-gradient(to top, #fcfcfc, #dcdcdc, #fcfcfc);     background: linear-gradient(to top, #fcfcfc, #dcdcdc, #fcfcfc);     border-bottom-color: #fff; } input.sheet-tab:not(:first-child)::before {     border-left: none; } input.sheet-tab2::before {     background: #fee;     background: -moz-linear-gradient(to top, #f8c8c8, #fee, #f8c8c8);     background: -webkit-linear-gradient(to top, #f8c8c8, #fee, #f8c8c8);     background: -ms-linear-gradient(to top, #f8c8c8, #fee, #f8c8c8);     background: -o-linear-gradient(to top, #f8c8c8, #fee, #f8c8c8);     background: linear-gradient(to top, #f8c8c8, #fee, #f8c8c8); } input.sheet-tab2:checked::before {     background: #dcdcdc;     background: -moz-linear-gradient(to top, #fcecec, #f8c8c8, #fcecec);     background: -webkit-linear-gradient(to top, #fcecec, #f8c8c8, #fcecec);     background: -ms-linear-gradient(to top, #fcecec, #f8c8c8, #fcecec);     background: -o-linear-gradient(to top, #fcecec, #f8c8c8, #fcecec);     background: linear-gradient(to top, #fcecec, #f8c8c8, #fcecec);     border-bottom-color: #fcecec; } div.sheet-tab-content {     border: 1px solid #a8a8a8;     border-top-color: #000;     margin: 2px 0 0 5px;     padding: 5px; } div.sheet-tab2 {     background-color: #fcecec; } <input type="radio" name="attr_tab" class="sheet-tab sheet-tab1" value="1" title="First Tab" checked="checked" /> <input type="radio" name="attr_tab" class="sheet-tab sheet-tab2" value="2" title="Second Tab" /> <input type="radio" name="attr_tab" class="sheet-tab sheet-tab3" value="3" title="Third Tab" /> <input type="radio" name="attr_tab" class="sheet-tab sheet-tab4" value="4" title="Fourth Tab" /> <div class="sheet-tab-content sheet-tab1">     <h1>Stats</h1>     <table>      <tr>     <td colspan="9" class="sheet-statlabel-big" style="width: 350px;">STATS</td>     </tr>     <th>Ability Name</th><th>Ability<br>Score</th><th>Ability<br>Modifier</th> </table>     <td>         <table>             <tr>                             </tr>             <tr>                 <td><button type='roll' value='/roll 1d20 + @{strmod}' name='roll_Str'></button></td>                 <td class="sheet-statlabel">STR<br><div style="font-size: 0.65em;">Strength</div></td>                 <td><input class="sheet-inputbox" type="number" name="attr_str" value="10" style="height: 24px; width: 40px;"></td>                 <td><input class="sheet-inputbox" type="number" name="attr_strmod" value="0" style="height: 24px; width: 40px;" ></td>  <textarea></textarea>             </tr>             <tr>                 <td><button type='roll' value='/roll 1d20 + @{dexmod}' name='roll_Dex'></button></td>                 <td class="sheet-statlabel">DEX<br><div style="font-size: 0.65em;">Dexterity</div></td>                 <td><input class="sheet-inputbox" type="number" name="attr_dex" value="10" style="height: 24px; width: 40px;"></td>                 <td><input class="sheet-inputbox" type="number" name="attr_dexmod" value="0" style="height: 24px; width: 40px;" ></td>               </tr>             <tr>                 <td><button type='roll' value='/roll 1d20 + @{conmod}' name='roll_Con'></button></td>                 <td  class="sheet-statlabel">CON<br><div style="font-size: 0.65em;">Constitution</div></td>                 <td><input class="sheet-inputbox" type="number" name="attr_con" value="10" style="height: 24px; width: 40px;"></td>                 <td><input class="sheet-inputbox" type="number" name="attr_conmod" value="0" style="height: 24px; width: 40px;">                </tr>             <tr>                 <td><button type='roll' value='/roll 1d20 + @{intmod}' name='roll_Int'></button></td>                 <td class="sheet-statlabel">INT<br><div style="font-size: 0.65em;">Intelligence</div></td>                 <td><input class="sheet-inputbox" type="number" name="attr_int" value="10" style="height: 24px; width: 40px;"></td>                 <td><input class="sheet-inputbox" type="number" name="attr_intmod" value="0" style="height: 24px; width: 40px;" ></td>                 </tr>             <tr>                 <td><button type='roll' value='/roll 1d20 + @{wismod}' name='roll_Wis'></button></td>                 <td class="sheet-statlabel">WIS<br><div style="font-size: 0.65em;">Wisdom</div></td>                 <td><input class="sheet-inputbox" type="number" name="attr_wis" value="10" style="height: 24px; width: 40px;"></td>                 <td><input class="sheet-inputbox" type="number" name="attr_wismod" value="0" style="height: 24px; width: 40px;" ></td>             </tr>             <tr>                 <td><button type='roll' value='/roll 1d20 + @{chamod}'name='roll_Cha'></button></td>                 <td class="sheet-statlabel">CHA<br><div style="font-size: 0.65em;">Charisma</div></td>                 <td><input class="sheet-inputbox" type="number" name="attr_cha" value="10" style="height: 24px; width: 40px;"></td>                 <td><input class="sheet-inputbox" type="number" name="attr_chamod" value="0" style="height: 24px; width: 40px;" ></td>             </tr>             <tr>                 <td><button type='roll' value='/roll 1d20 + @{lckmod}' name='roll_Lck'></button></td>                 <td class="sheet-statlabel">LCK<br><div style="font-size: 0.65em;">Luck</div></td>                 <td><input class="sheet-inputbox" type="number" name="attr_lck" value="10" style="height: 24px; width: 40px;"></td>                 <td><input class="sheet-inputbox" type="number" name="attr_lckmod" value="0" style="height: 24px; width: 40px;" ></td>               </tr>         </table>     </td><br><br> </div>
1454982379
Finderski
Plus
Sheet Author
Compendium Curator
Ok, your HTML code has a few extraneous tags. For example, on around row 13 you have a </table> tag that is out of place.  Your first row (<tr>) had a single column (<td>) that spanned 9 columns, but your table doesn't have 9 columns, etc.  So, I went ahead and made a few modifications to your HTML. First, you didn't have a <th> for the column with the buttons in it. You also didn't have a <th> for the column where you wanted a Text area notes field. Your table needed a a total of 5 columns. So, I added a couple of blank columns to the table to care for the buttons and the text area. Also, it appears that you only wanted a single text area to span the entire table. To that end, I filled in the fifth column with a text area in a cell that spans 7 rows and set the text area to almost completely fill the enter area. I hope this helps, <div class="sheet-tab-content sheet-tab1"> <h1>Stats</h1>     <table>       <tr>     <caption class="sheet-statlabel-big" style="width: 350px;">STATS</caption>     </tr>     <tr>     <th> </th><th>Ability Name</th><th>Ability<br>Score</th><th>Ability<br />Modifier</th><th> </th>     </tr>     <tr>     <td></td>                        </tr>         <tr>         <td><button type='roll' value='/roll 1d20 + @{strmod}' name='roll_Str'></button></td>             <td class="sheet-statlabel">STR<br /><span style="font-size: 0.65em;">Strength</span></td>             <td><input class="sheet-inputbox" type="number" name="attr_str" value="10" style="height: 24px; width: 40px;"></td>             <td><input class="sheet-inputbox" type="number" name="attr_strmod" value="0" style="height: 24px; width: 40px;" ></td>               <td rowspan="7"><textarea style='height: 230px;' name='attr_notes'></textarea></td>         </tr>         <tr>         <td><button type='roll' value='/roll 1d20 + @{dexmod}' name='roll_Dex'></button></td>             <td class="sheet-statlabel">DEX<br><span style="font-size: 0.65em;">Dexterity</span></td>             <td><input class="sheet-inputbox" type="number" name="attr_dex" value="10" style="height: 24px; width: 40px;"></td>             <td><input class="sheet-inputbox" type="number" name="attr_dexmod" value="0" style="height: 24px; width: 40px;" ></td>           </tr>         <tr>             <td><button type='roll' value='/roll 1d20 + @{conmod}' name='roll_Con'></button></td>             <td  class="sheet-statlabel">CON<br><div style="font-size: 0.65em;">Constitution</div></td>             <td><input class="sheet-inputbox" type="number" name="attr_con" value="10" style="height: 24px; width: 40px;"></td>             <td><input class="sheet-inputbox" type="number" name="attr_conmod" value="0" style="height: 24px; width: 40px;">            </tr>         <tr>             <td><button type='roll' value='/roll 1d20 + @{intmod}' name='roll_Int'></button></td>             <td class="sheet-statlabel">INT<br><div style="font-size: 0.65em;">Intelligence</div></td>             <td><input class="sheet-inputbox" type="number" name="attr_int" value="10" style="height: 24px; width: 40px;"></td>             <td><input class="sheet-inputbox" type="number" name="attr_intmod" value="0" style="height: 24px; width: 40px;" ></td>             </tr>         <tr>             <td><button type='roll' value='/roll 1d20 + @{wismod}' name='roll_Wis'></button></td>             <td class="sheet-statlabel">WIS<br><div style="font-size: 0.65em;">Wisdom</div></td>             <td><input class="sheet-inputbox" type="number" name="attr_wis" value="10" style="height: 24px; width: 40px;"></td>             <td><input class="sheet-inputbox" type="number" name="attr_wismod" value="0" style="height: 24px; width: 40px;" ></td>         </tr>         <tr>             <td><button type='roll' value='/roll 1d20 + @{chamod}'name='roll_Cha'></button></td>             <td class="sheet-statlabel">CHA<br><div style="font-size: 0.65em;">Charisma</div></td>             <td><input class="sheet-inputbox" type="number" name="attr_cha" value="10" style="height: 24px; width: 40px;"></td>             <td><input class="sheet-inputbox" type="number" name="attr_chamod" value="0" style="height: 24px; width: 40px;" ></td>         </tr>         <tr>             <td><button type='roll' value='/roll 1d20 + @{lckmod}' name='roll_Lck'></button></td>             <td class="sheet-statlabel">LCK<br><div style="font-size: 0.65em;">Luck</div></td>             <td><input class="sheet-inputbox" type="number" name="attr_lck" value="10" style="height: 24px; width: 40px;"></td>             <td><input class="sheet-inputbox" type="number" name="attr_lckmod" value="0" style="height: 24px; width: 40px;" ></td>           </tr> </table> </div>
oh my thanks so much i got about half of what you said tbh im still learning but i will keep it all in mind as i learn and thank you so much i will fiddle around with the size as a learning experiance
1454986960
Finderski
Plus
Sheet Author
Compendium Curator
chris n. said: oh my thanks so much i got about half of what you said tbh im still learning but i will keep it all in mind as i learn and thank you so much i will fiddle around with the size as a learning experiance Glad to help. Don't hesitate to ask if you have more questions. 
1454987208

Edited 1454990840
thanks to you i cleaned up my script a bit more and added notes above the textarea as well as changed the size. thanks again so much. any advice on making a feats page? ideas or any thing. im drawing a blank