By just appending the text _max to the attribute name. Life:&nbsp;<input type="text" name="attr_Life" style="width: 30px;"/> C:&nbsp;<input type="text" name="attr_Life_max" style="width: 30px;"/> I'd also advise avoiding spaces in attribute names, inline styles, and avoid using &nbsp; You can do something like <span class="stat">Life</span><input type="text" name="attr_Life" class="life"/> <span class="stat">C</span><input type="text" name="attr_Life_max" class="life"/> Then in the css tab something like input.life { width: 30px; } And you can set span.stat with the style you want. Note if you have the legacy style box checked, you'd need to change the CSS to append sheet- to the style name, in the CSS page only, like so: input.sheet-life { width: 30px; } But no one making a sheet should be using legacy now. The main advantage of this approach is you can use more generic names (something other than life) and can apply the same style to many many elements at once, without having to edit multiple locations.