Support » Plugin: PHP Everywhere » 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).

    Why is this? Thanks for your help in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Alexander Fuchs

    (@alexander_fuchs)

    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

    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.