Thanks, I didn't realise it was that simple! Although since the div align attribute is not supported in HTML5 ( http://www.w3schools.com/tags/att_div_align.asp), I implemented this using a new css class and a text-align property.
On Friday, 2 November 2012 11:00:19 UTC, Johann Spies wrote: > > On 1 November 2012 21:17, Ryan <[email protected] <javascript:>> wrote: > >> I have to following forms and I was wondering how I could centre them >> inside their respective span6 elements? >> >> http://jsfiddle.net/ryan117/CWGmF/ >> > > > <div class="span6" align="center"> will center all the fields and the > button. > If you use an form passed from the controller, I suspect you can use > return(form=CENTER(form)) in the controller. > > Regards > Johann > -- > Because experiencing your loyal love is better than life itself, > my lips will praise you. (Psalm 63:3) > >
