摘要: <html> <head> <title> 元素居中 </title> <style> body{ margin:0;padding:0;height:100%;} </style> </head> <body> <table width= "100% " height= "100% " align= "center "> <tr> <td align= "center "> ... 阅读全文
posted @ 2012-08-11 16:24 perock 阅读(2100) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title> <script... 阅读全文
posted @ 2012-08-11 14:31 perock 阅读(361) 评论(0) 推荐(0) 编辑
摘要: jQuery-强大的jQuery选择器 (详解)[转] 1. 基础选择器Basics 名称 说明 举例 #id 根据元素Id选择 $("divId") 选择ID为divId的元素 elem... 阅读全文
posted @ 2012-08-11 12:40 perock 阅读(264) 评论(0) 推荐(0) 编辑
摘要: <html><head><style type="text/css">simg { float:left; clear:right; border:1px solid red; margin:1px; padding:1px; }div img{float:left; clear:left;}</style></head><img src="/i/eg_smile.gif" style="float:left; clear:both; border:1px solid red;& 阅读全文
posted @ 2012-08-11 11:55 perock 阅读(2323) 评论(0) 推荐(0) 编辑