题目内容

在设置子元素定位时,一般需先设置父元素的定位模式为( ),然后不需要设置其边偏移量。

A. static
B. relative
C. absolute
D. fixed

查看答案
更多问题

()属性代表是左侧偏移量,定义元素相对于其父元素左边线的距离。

A. top
B. bottom
C. left
D. right

在设置子元素定位时,需先设置父元素的定位模式后(不需要设置其边偏移量),再设置子元素的定位模式为(),再设置子元素的边偏移量。

A. static
B. relative
C. absolute
D. fixed

在定位模式中,position属性的默认定位属性值是()。

A. static
B. relative
C. absolute
D. fixed

position属性( )值表示绝对定位,其含义是相对于其原文档流的位置进行定位。

A. static
B. relative
C. absolute
D. fixed

答案查题题库