2

ボタンを作成した場合<Button id="Button" text="Hey" />、コンテンツがない場所だけでなく、必要な場所にボタンを Web ページに配置するにはどうすればよいでしょうか?

4

2 に答える 2

4

CSS ポジショニングを使用する

于 2012-04-23T13:45:15.177 に答える
1

絶対配置を使用します。

元:

position:absolute; //Place wherever we want on the page
left-margin:10px; //Move right 10px
top-margin:20px; //Move down 20px
z-index:2; //Put on top of everything with z-index of 1 or 0
于 2012-04-23T13:46:21.997 に答える