DIV水平垂直居中css实现代码

时间:2020-12-13 16:11:17
【文件属性】:
文件名称:DIV水平垂直居中css实现代码
文件大小:22KB
文件格式:PDF
更新时间:2020-12-13 16:11:17
c css div 主要代码: position:absolute; top:50%; left:50%; margin-top:-(height/2); margin-left:-(width/2) <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml”> <head> <meta http-equiv=”Content-Type” co

网友评论