[Skip to main content](#vessel-content)

#   Better spacing question on registration form

##

- **[boopoo](/forum/user/8365-boopoo "View boopoo's Profile")**
- [![boopoo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8365-boopoo "View boopoo's Profile") Topic Author
- [ Offline](/forum/user/8365-boopoo)

Less More

- Posts: 272
- Thank you received: 7
-
-

12 years 8 months ago [\#149798](#149798) by [boopoo](/forum/user/8365-boopoo "View boopoo's Profile")  *[Better spacing question on registration form](/forum/27-checkout/866955-better-spacing-question-on-registration-form#149798 "-- HikaShop version -- : latest -- Joomla version -- : 2.5.19  I am trying to add a line of space in the registration field, by adding a space in the PHP code rather than through CSS. Please look at the attachments. I have managed to add the line of space using the code below but the problem is '?&gt;' now appears.  ?&gt; ?php echo ''; ?&gt;  I would be very grateful if you can tell me the correct way to do this, so '?&gt;' does not appear on the front end.")* was created by *[boopoo](/forum/user/8365-boopoo "View boopoo's Profile")*

-- HikaShop version -- : latest
-- Joomla version -- : 2.5.19

I am trying to add a line of space in the registration field, by adding a space in the PHP code rather than through CSS. Please look at the attachments. I have managed to add the line of space using the code below but the problem is '?&gt;' now appears.

?&gt;
&lt;?php
echo '&lt;br/&gt;&lt;br/&gt;';
?&gt;

I would be very grateful if you can tell me the correct way to do this, so '?&gt;' does not appear on the front end.

- [ ![hd38412a.JPG](/forum/attachment/16288) ](/forum/attachment/16288 "hd38412a.JPG") [ ](/forum/attachment/16288?download=1 "hd38412a.JPG")
- [ ![h12c87b3.JPG](/forum/attachment/16289) ](/forum/attachment/16289 "h12c87b3.JPG") [ ](/forum/attachment/16289?download=1 "h12c87b3.JPG")
- [ ![hfe0c432.JPG](/forum/attachment/16290) ](/forum/attachment/16290 "hfe0c432.JPG") [ ](/forum/attachment/16290?download=1 "hfe0c432.JPG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2Njk1NS1iZXR0ZXItc3BhY2luZy1xdWVzdGlvbi1vbi1yZWdpc3RyYXRpb24tZm9ybT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[boopoo](/forum/user/8365-boopoo "View boopoo's Profile")**
- [![boopoo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8365-boopoo "View boopoo's Profile") Topic Author
- [ Offline](/forum/user/8365-boopoo)

Less More

- Posts: 272
- Thank you received: 7
-
-

12 years 8 months ago -  12 years 8 months ago [\#149868](#149868) by [boopoo](/forum/user/8365-boopoo "View boopoo's Profile")  Replied by *[boopoo](/forum/user/8365-boopoo "View boopoo's Profile")* on topic *[Better spacing question on registration form](/forum/27-checkout/866955-better-spacing-question-on-registration-form#149868 "-- HikaShop version -- : latest -- Joomla version -- : 2.5.19  I am trying to add a line of space in the registration field, by adding a space in the PHP code rather than through CSS. Please look at the attachments. I have managed to add the line of space using the code below but the problem is '?&gt;' now appears.  ?&gt; ?php echo ''; ?&gt;  I would be very grateful if you can tell me the correct way to do this, so '?&gt;' does not appear on the front end.")*

Tried to work this out but my lack of php knowledge is not helping. I thought the following code would work to add a line of space in the registration form, but it leaves characters on the front end (as you see in attachment). Any pointers greatly appreciated!

?&gt;
&lt;?php
echo '&lt;br/&gt;&lt;br/&gt;';
?&gt;

- [ ![h004fd18.jpg](/forum/attachment/16301) ](/forum/attachment/16301 "h004fd18.jpg") [ ](/forum/attachment/16301?download=1 "h004fd18.jpg")

Last edit: 12 years 8 months ago by [boopoo](/forum/user/8365-boopoo "View boopoo's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2Njk1NS1iZXR0ZXItc3BhY2luZy1xdWVzdGlvbi1vbi1yZWdpc3RyYXRpb24tZm9ybT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 8 months ago [\#149804](#149804) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Better spacing question on registration form](/forum/27-checkout/866955-better-spacing-question-on-registration-form#149804 "-- HikaShop version -- : latest -- Joomla version -- : 2.5.19  I am trying to add a line of space in the registration field, by adding a space in the PHP code rather than through CSS. Please look at the attachments. I have managed to add the line of space using the code below but the problem is '?&gt;' now appears.  ?&gt; ?php echo ''; ?&gt;  I would be very grateful if you can tell me the correct way to do this, so '?&gt;' does not appear on the front end.")*

Hello,
Note that the easiest way to do that will be to that will probably be to use some CSS code, but if you want to help me with your customization can you tell me what lines did you edited and show me how did you changed them ?
Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2Njk1NS1iZXR0ZXItc3BhY2luZy1xdWVzdGlvbi1vbi1yZWdpc3RyYXRpb24tZm9ybT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[boopoo](/forum/user/8365-boopoo "View boopoo's Profile")**
- [![boopoo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8365-boopoo "View boopoo's Profile") Topic Author
- [ Offline](/forum/user/8365-boopoo)

Less More

- Posts: 272
- Thank you received: 7
-
-

12 years 8 months ago [\#149987](#149987) by [boopoo](/forum/user/8365-boopoo "View boopoo's Profile")  Replied by *[boopoo](/forum/user/8365-boopoo "View boopoo's Profile")* on topic *[Better spacing question on registration form](/forum/27-checkout/866955-better-spacing-question-on-registration-form#149987 "-- HikaShop version -- : latest -- Joomla version -- : 2.5.19  I am trying to add a line of space in the registration field, by adding a space in the PHP code rather than through CSS. Please look at the attachments. I have managed to add the line of space using the code below but the problem is '?&gt;' now appears.  ?&gt; ?php echo ''; ?&gt;  I would be very grateful if you can tell me the correct way to do this, so '?&gt;' does not appear on the front end.")*

Hello Mohammed,

Yes I would really appreciate your help. I have attached the bit of code I added to the view "user / registration". I did not change any code, I just added the bit of code in red. As you saw in previous attachment, this did not work 100%.

If you can help me create a line of space I would be very happy.
Thanks

- [ ![h9852aa9.jpg](/forum/attachment/16328) ](/forum/attachment/16328 "h9852aa9.jpg") [ ](/forum/attachment/16328?download=1 "h9852aa9.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2Njk1NS1iZXR0ZXItc3BhY2luZy1xdWVzdGlvbi1vbi1yZWdpc3RyYXRpb24tZm9ybT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

12 years 7 months ago [\#150002](#150002) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Better spacing question on registration form](/forum/27-checkout/866955-better-spacing-question-on-registration-form#150002 "-- HikaShop version -- : latest -- Joomla version -- : 2.5.19  I am trying to add a line of space in the registration field, by adding a space in the PHP code rather than through CSS. Please look at the attachments. I have managed to add the line of space using the code below but the problem is '?&gt;' now appears.  ?&gt; ?php echo ''; ?&gt;  I would be very grateful if you can tell me the correct way to do this, so '?&gt;' does not appear on the front end.")*

The first ?&gt; in the red zone of your code should be removed.
Actually, you don't even need any PHP.
You could just write the br tags directly like that:
&lt;br/&gt;&lt;br/&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2Njk1NS1iZXR0ZXItc3BhY2luZy1xdWVzdGlvbi1vbi1yZWdpc3RyYXRpb24tZm9ybT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[boopoo](/forum/user/8365-boopoo "View boopoo's Profile")**
- [![boopoo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8365-boopoo "View boopoo's Profile") Topic Author
- [ Offline](/forum/user/8365-boopoo)

Less More

- Posts: 272
- Thank you received: 7
-
-

12 years 7 months ago [\#150099](#150099) by [boopoo](/forum/user/8365-boopoo "View boopoo's Profile")  Replied by *[boopoo](/forum/user/8365-boopoo "View boopoo's Profile")* on topic *[Better spacing question on registration form](/forum/27-checkout/866955-better-spacing-question-on-registration-form#150099 "-- HikaShop version -- : latest -- Joomla version -- : 2.5.19  I am trying to add a line of space in the registration field, by adding a space in the PHP code rather than through CSS. Please look at the attachments. I have managed to add the line of space using the code below but the problem is '?&gt;' now appears.  ?&gt; ?php echo ''; ?&gt;  I would be very grateful if you can tell me the correct way to do this, so '?&gt;' does not appear on the front end.")*

Many thanks Nicolas

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2Njk1NS1iZXR0ZXItc3BhY2luZy1xdWVzdGlvbi1vbi1yZWdpc3RyYXRpb24tZm9ybT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.076 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
