Elxis CMS Forum
Support => Administration => Topic started by: Ule on September 28, 2007, 12:28:23
-
Hi,
I must say that Elxis is the best Open Source CMS i have ever used. Well done Elxis Team!
I have one question. How do i align my extra fields in the account registration page together with the default form items? Everytime i add an extra field it appears offset from the others. i need them aligned to the left or right so long as everthing looks tidy.
Please help ???
-
In Elxis 2008 we have solved this issue by adding the field name inside a span element with standard width:
<span style="width:150px; float:left;">extra field name:</span> <input type="text"... /><br /><br />
This solution requires Elxis core modification for the 2006.x generation. Better wait for the upgrade to the 2008 version.
-
An alternative for Elxis 2006.4 is to add to the template_css.css file of your current template, code for the extra fields that looks like the following. Of course you will have to adjust it to your needs:
#req1, #req2, #req3, #req4, #req5,
#req6, #req7
{
height: 15px;
font-size: 8pt;
font-family: tahoma,verdana,arial,sans-serif;
border: 1px solid #D4D0C8;
margin: 0;
padding: 0;
margin-bottom:7px;
background: #FEFEFE;
color: #000000;
width:218px;
*margin-left: 83px; /* IE6, IE7 Hack */
}
Note the #req1, ..., #req7. It depends on the number of extra fields.
Note the "*margin-left".
It is only executed for IE. In FF extra fields are displayed correctly aligned.
Hi,
I must say that Elxis is the best Open Source CMS i have ever used. Well done Elxis Team!
I have one question. How do i align my extra fields in the account registration page together with the default form items? Everytime i add an extra field it appears offset from the others. i need them aligned to the left or right so long as everthing looks tidy.
Please help ???