Align of two columns like in Project/Settings/General

Added by Малъ Скрылёвъ over 11 years ago

hello,

I've tried to add a view, similar to "Project/Settings/General". It shell contain a set of keyed valued (two columns), like that "Name [Project N...]" etc. The label (Name here) shell aligned to right, and its value (input box) shell align to left. But I'can do that, I thought that the feature of aligning is done by <div class="box">, but I'd a misstake. So the quesstion is the follwwing:

How can I achieve the feature of aligning of the two columns?

My code is the following:

<div class='box'><p><label for="project_name">Лексема<span class="required"> *</span></label><input size=75 name=':слово' value='' /></p></div>

Replies (1)

RE: Align of two columns like in Project/Settings/General - Added by Felix Schäfer over 11 years ago

Put it in a div with a tabular class.

(1-1/1)