CSS style with HTML tags centered in browser

Time:2020-3-31

CSS Style:

Copy code

The code is as follows:

<style type=”text/css”>
#login{
position:absolute;
top:50%;
left:50%;
Margin left: – half width of label;
Margin top: – label half height;
}
</style>

HTML part:

Copy code

The code is as follows:

<div></div >

Recommended Today

Configure Apache to support PHP in the Apache main configuration file httpd.conf Include custom profile in

In Apache’s main configuration file / conf/ http.conf Add at the bottom Include “D:workspace_phpapache-php.conf” The file path can be any In D: workspace_ Create under PHP file apache- php.conf file Its specific content is [html] view plain copy PHP-Module setup LoadFile “D:/xampp/php/php5ts.dll” LoadModule php5_module “D:/xampp/php/php5apache2_2.dll” <FilesMatch “.php$”> SetHandler application/x-httpd-php </FilesMatch> <FilesMatch “.phps$”> SetHandler application/x-httpd-php-source </FilesMatch> […]