answersLogoWhite

0

You do not center any HTML constructs inside PHP itself. First of all its bad practice to mix php code with HTML, for that you can use a template engine like smarty. Next, in case you DO want to mix HTML and PHP, then simply give the "container" element an ID or a class name. This one then can be styled via CSS.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What is 10 percent in Php 250?

Answer: Php 2510% of Php 250= 10% * Php 250= 0.10 * Php 250= Php 25


What is a php consultant?

PHP Consultant is a Expert PHP Developer who Guide PHP Development Process


Is php a binary file?

No, PHP is text file with .php extension.


Will php 4.4.7 server support php 5 files?

Yes php 4.4.7 server support php 5 files. But most of the php 5 features are not supported by php 4.4.7 version


Which is the best php training institute in kolkata?

W3webschool,Ogma Academy, iClass Kolkata center are just some of the many available


Does android supports PHP?

It supports websites made on php but not coding in php. There are workarounds for coding in PHP using Android.


How do you get the url in a php website?

Copy the URL with the .php, The .php is part of the page.


What is new in PHP?

PHP is a recursive acronym for "PHP: Hypertext Preprocessor" created by The PHP Group. PHP is a widely used server-side scripting language and the general purpose of PHP is to create dynamic Web Pages. For more information, visit the PHP website.


Where can PHP help be found online?

PHP help can be found online in several different places. Some of these places include PHP Live Support, PHP Moot, PHP Help, Live Person, and PHP Freaks.


What is php extension?

We can write php extension is many way... .php , .php5, .php4


How do I get rid of PHP in Charter's home page?

Open the PHP script and delete the PHP from it.


How do you write a php algorithm?

Well if you know php then you can write your own algorithm php syntax is <?php //open php tag $num = 1; $num2 = 2; $total = $num + $num2; echo $total; ?> //close php tag