This topic is locked

Button spacing

6/14/2017 6:08:56 PM
PHPRunner General questions
T
Tempus_Erus author

Hi,
PHP 9.7, using bootstrap.
Upon inserting a new button (3 to be precise) the spacing is different and the buttons look odd and 'note neat'.
This maybe to do with a class, but I notice inserted buttons use <A> and not <button> though there are many connotations.
When inserting a button occasionally there is an extra space....delete the extra space and compile....the space returns.
Any help formatting would be greatly appreciated.

admin 6/16/2017

Can we see some screenshots that explain the issue?

T
Tempus_Erus author 6/17/2017



Can we see some screenshots that explain the issue?


Hi,
Please see image below.
There are no additional spaces (&nbsp;) etc inserted. The buttons have been added though the insert code > button feature side by side.
I have added the code (part) produced and thinking if this could be the css block or the use fo the <Button> tag.
{BEGIN newrecord_controls_block}

{BEGIN add_link}

<A class="btn btn-primary" type="button" data-brick="add" data-pageid="{$pageid}" {$add_hiddenattr} {$addlink_attrs}>

Add new

</A>

{END add_link}

{END newrecord_controls_block}

&nbsp;

{BEGIN record_controls_block}

<SPAN data-brick="recordcontrol" data-pageid="{$pageid}" {$recordcontrol_hiddenattr}>

{BEGIN deleteselected_link}

<BUTTON disabled class="btn btn-default" type="button" {$deleteselectedlink_attrs} {$deleteselectedlink_span}>

Delete

</BUTTON>

{END deleteselected_link}
<A class="rnr-button btn btn-default" id="List_Overdue" href="#" typeid="ib">

List Overdue

</A>

<A class="rnr-button btn btn-default" id="Remove_scheduled" href="#" typeid="ib">

Remove scheduled

</A>


thanks,