Remove <!DOCTYPE html> from Custom File.

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
Bishu
User
Posts: 429

Remove <!DOCTYPE html> from Custom File.

Post by Bishu »

In top of the Custom file there is
<!DOCTYPE html>
How can I remove this "<!DOCTYPE html>" from the custom file.


scs
User
Posts: 694

Post by scs »

Try not to 'include common files' when create 'Custom File'.


Bishu
User
Posts: 429

Post by Bishu »

Thanks scs for reply.

But I need the common file for using the database query as ew_Execute etc.


mobhar
User
Posts: 11758

Post by mobhar »

You cannot remove that tag, since it is a main part of the whole your generated web application.

By the way, what is your reason want to remove that tag?


Bishu
User
Posts: 429

Post by Bishu »

I have a Receipt Page which has already created using the table.
Now I would like to include this page in my PHPMaker Project using the Custom File.
Due to <!DOCTYPE html>
The alignment are not showing properly.


mobhar
User
Posts: 11758

Post by mobhar »

Try to always keep <!DOCTYPE html> since PHPMaker now uses Bootstrap and HTML5. Thus, you should follow the style that provided by Bootstrap and HTML5. Do not against the rule of it. In other words, you should migrate the style in your Custom File so that it will use the style from Bootstrap.


Post Reply