什么是“位置”的默认值? DIV的属性? [英] What is the default value of "position" attribute of a DIV?

查看:118
本文介绍了什么是“位置”的默认值? DIV的属性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是想知道DIV的默认位置属性是什么?
只要DIV的display属性为BLOCK,position属性的默认属性是什么?

p> position:static;

如果未明确指定,则默认位置对于任何html元素都是静态的。


I was just wondering what could be the default "position" attribute of a DIV ? Just the way a DIV has display property as BLOCK, what is the default property for position attribute ?

解决方案

position: static;

The default position is static for any html element if not specified explicitly.

这篇关于什么是“位置”的默认值? DIV的属性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆