Welcome Guest, Not a member yet? Register   Sign In
form centering
#1

[eluser]Unknown[/eluser]
Hello all,

i am trying to center a form using this format

<?=form_open('tester/comment_insert');?>



<p>&lt;input type="text" name="author"/&gt;</p>
<p>&lt;input type="text" name="author" /&gt;</p>
<p>&lt;input type="submit" value="Submit"/&gt;</p>

how do i do that. I tried using this approach:

$attributes = array('class' => 'email', 'align' => 'center');

echo form_open('tester/comment_insert', $attributes);

but it still isnt working

what am i donig wrong pls help me

nkor


Messages In This Thread
form centering - by El Forum - 02-22-2008, 09:55 AM
form centering - by El Forum - 02-22-2008, 10:23 AM
form centering - by El Forum - 02-22-2008, 10:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB