table裏只要設置align="center"就行了
DIV裏沒有屬性可以控制其位置,只能通過CSS
margin:0px auto;
當設置margin的左邊距和右邊距爲自動時。左邊距和右邊距將會相等,即達到居中的效果。
table裏只要設置align="center"就行了
DIV裏沒有屬性可以控制其位置,只能通過CSS
margin:0px auto;
當設置margin的左邊距和右邊距爲自動時。左邊距和右邊距將會相等,即達到居中的效果。
一. CSS浮動 先看一個例子 <html !DOCTYPE> <head> <title>HTML2</title> <style> .div-outer {
<style type=text/css>td { font-size: 12px; color: #000000; line-heig
主要用到 $("#id").show();//顯示 $("#id").hide();//隱藏 $("#id").toggle();//狀態相反