上一页 1 ··· 49 50 51 52 53 54 55 56 57 ··· 203 下一页
摘要: function formatDate(dateIn){ var y=dateIn.getFullYear(); var m=dateIn.getMonth()+1; var d=dateIn.getDate(); return y+(m<10?"-0":"-")+m+(d<10?"-0":"-") 阅读全文
posted @ 2021-12-02 20:12 逆火狂飙 阅读(1793) 评论(0) 推荐(0)
摘要: 有这么一张表: create table emp5( id number(4), name nvarchar2(20), primary key(id) ) 如果想让它的name字段只能输入固定值如a,b,可以这样给name字段加上check: alter table emp5 modify(nam 阅读全文
posted @ 2021-11-30 20:09 逆火狂飙 阅读(958) 评论(0) 推荐(0)
摘要: 如果把SQL写在类中或是注解中,当要取select count(*) .... 类型sql的返回值,直接指定函数的返回类型为int/long即可; 但对于把sql语句写在XML文件的情况,如果要取select count(*) .... 的返回值,必须要指明结果类型resultType="java. 阅读全文
posted @ 2021-11-29 20:18 逆火狂飙 阅读(3575) 评论(0) 推荐(0)
摘要: CSS网文的一大毛病是只有代码没有图,这咋可以呢?!所以在这里我先上效果图,还为了大家看清特地保留了div的边框: 先说关键点,要让li水平排列,其display属性都应该是inline或是inline-block,下面的例子全用了inline-block; 要让li子项靠左,应该设置其float属 阅读全文
posted @ 2021-11-25 20:48 逆火狂飙 阅读(1878) 评论(2) 推荐(0)
摘要: 效果图: 代码: <!DOCTYPE html> <html lang="utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <head> <title>标题</title> <style type 阅读全文
posted @ 2021-11-21 19:03 逆火狂飙 阅读(66) 评论(0) 推荐(0)
摘要: 例子: margin:3px 4px 5px 6px; 说明:上外边距3px 右外边距4px 下外边距5px 左外边距6px 这四项是按顺时针排列的,第一项在12点方向 第二项在3点方向 第三项在6点方向 第四项在9点方向 做成表格更方便记忆: margin/padding 3px 4px 5px 阅读全文
posted @ 2021-11-21 13:31 逆火狂飙 阅读(88) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-11-21 13:23 逆火狂飙 阅读(86) 评论(0) 推荐(0)
摘要: 先上效果图: 再上代码: <!DOCTYPE html> <html lang="utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <head> <title>标题</title> <style 阅读全文
posted @ 2021-11-21 13:16 逆火狂飙 阅读(141) 评论(0) 推荐(0)
摘要: Html code: <a href="holiday_pay" class="popup">Holiday pay</a> JS code: var link=$("a.popup"); links.click(function(event){ event.preventDefault(); wi 阅读全文
posted @ 2021-11-21 09:51 逆火狂飙 阅读(150) 评论(0) 推荐(0)
摘要: .div1{ float:left; width:100px; } .div2{ float:right; width:200px; } 阅读全文
posted @ 2021-11-21 09:47 逆火狂飙 阅读(167) 评论(0) 推荐(0)
上一页 1 ··· 49 50 51 52 53 54 55 56 57 ··· 203 下一页
生当作人杰 死亦为鬼雄 至今思项羽 不肯过江东