float-offset

以和 float 屬性一般放置物件之位置相反的方向來放置物件。

語法

{ float-offest: hOffsetvOffset }

可能的值

hOffset

指定元素之水平位移的值

vOffset

指定元素之垂直位移的選用值

如果只指定一個值,便會將這個值視為 hOffset,而不會在元素上套用任何垂直位移。

標準資訊

您可以在 CSS Selectors Level 3 (CSS 選取器層級 3) Gg721775.xtlink_newWindow(zh-tw,Expression.40).png 找到此虛擬類別的定義。

適用範圍

a, address, b, big, blockquote, body, button, caption, center, cite, code, col, colgroup, custom, dd, defaults, dfn, dir, div, dl, dt, em, fieldset, form, hn, html, i, img, input type=button, input type=checkbox, input type=file, input type=image, input type=password, input type=radio, input type=reset, input type=submit, input type=text, isindex, kbd, label, legend, li, listing, menu, nobr, ol, p, plaintext, pre, s, samp, small, span, strike, strong, sub, sup, table, tbody, td, textarea, tfoot, th, thead, tr, tt, t, ul, var, xmp

另請參閱

概念

float