我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

在Delphi中为PHP中心化一个表单

I have created a Delphi for PHP page in RadPHP. How can I make it center in the browser's window?
Is it possible to achieve it using only PHP code?

Form cannot be centered by only using php, because php is server scripting language and it cannot determine the size of client area (available space) in the browser. This can only be done by using CSS and JavaScript. Try that approach.

You can center an RPCL webpage with the following settings in your Page subclass:

  • Alignment: agCenter.
  • Layout.Type: REL_XY_LAYOUT.

近期文章

  • 使用PHP表单更新Twitter状态
  • preg_replace中的正则表达式检测url格式并提取元素
  • 如何创建动态增值?
  • 如何正确转义Location:header值?
  • MySQL多服务器任务回退机制
  • Mod重写用户URL
  • 从CodeIgniter更新MySQL语句
  • 以编程方式将文件下载到内存php
  • “对象”这个词在PHP中有什么特殊含义吗?
  • Code Igniter Load Database似乎停止了进程线程
  • print_r不理解输出的一部分
  • 如何将以下加密代码从Perl(或从PHP)转换为VB.NET?
  • 需要有关使用Valums ajax上载脚本上传文件的帮助
  • PHP:如何快速将key = value文件拆分为关联数组
  • 共享主机上的OpenID
  • 使用.htaccess在特定页面上强制缓存(index.php)
  • ORDER BY时间戳<24小时的记录数量(MySQL)
  • 将xml doc中的xml元素插入到其他xml文档中
  • 在多个表上使用一对多构造MySQL查询时遇到问题
  • PHP帮助多步骤表单

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华