Title: Bootstrap misaligned when using php_everywhere
Last modified: October 1, 2018

---

# Bootstrap misaligned when using php_everywhere

 *  [mcshelll](https://wordpress.org/support/users/mcshelll/)
 * (@mcshelll)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/bootstrap-misaligned-when-using-php_everywhere/)
 * Hi,
 * I have a webpage with a form that uses Bootstrap’s form-horizontal class. If 
   I write the HTML code it gets displayed fine, however if I copy the exact same
   code in php_everywhere the layout gets distorted (see the [printscreens](https://ibb.co/mWXb3e)).
 * Why is this? Thanks for your help in advance!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Alex](https://wordpress.org/support/users/alexander_fuchs/)
 * (@alexander_fuchs)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/bootstrap-misaligned-when-using-php_everywhere/#post-10747076)
 * Hi mcshell,
 * it seems like this behaviour is not related to php everywhere. Your best bet 
   is to investigate the page source and compare the two with each other.
 * Best regards,
 * Alex
 *  Thread Starter [mcshelll](https://wordpress.org/support/users/mcshelll/)
 * (@mcshelll)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/bootstrap-misaligned-when-using-php_everywhere/#post-10750949)
 * Hi Alex,
 * As you suggested I took a look at the source and for some reason when I create
   the HTML through [php_everywhere] it appends a `</p>` at the end of every `<label
   >...</label>` segment. I did a _dirty fix_ by adding a `<p>` in front of every
   label element. Do you have any idea why is the `</p>` could generated when using
   your plugin? Would be nice to find a real fix.
 * Br, m

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Bootstrap misaligned when using php_everywhere’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/php-everywhere_5f7aae.svg)
 * [PHP Everywhere](https://wordpress.org/plugins/php-everywhere/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/php-everywhere/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/php-everywhere/)
 * [Active Topics](https://wordpress.org/support/plugin/php-everywhere/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/php-everywhere/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/php-everywhere/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [mcshelll](https://wordpress.org/support/users/mcshelll/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/bootstrap-misaligned-when-using-php_everywhere/#post-10750949)
 * Status: not resolved