UWInfo Blog
發表新文章
[Join] | [忘記密碼] | [Login]
搜尋

搜尋意見
文章分類-#Author#
[所有文章分類]
所有文章分類
  • ASP.NET (48)
  • ASP.NET2.0 (15)
  • ASP.NET4.0 (34)
  • JavaScript (49)
  • jQuery (26)
  • FireFox (4)
  • UW系統設定 (3)
  • SQL (39)
  • SQL 2008 (25)
  • mirror (4)
  • SVN (4)
  • IE (9)
  • IIS (20)
  • IIS6 (1)
  • 閒聊 (7)
  • W3C (6)
  • 作業系統 (9)
  • C# (24)
  • CSS (12)
  • FileServer (1)
  • HTML 5 (11)
  • CKEditor (3)
  • UW.dll (13)
  • Visual Studio (16)
  • Browser (8)
  • SEO (1)
  • Google Apps (3)
  • 網站輔助系統 (4)
  • DNS (5)
  • SMTP (4)
  • 網管 (11)
  • 社群API (3)
  • SSL (4)
  • App_Inventor (1)
  • URLRewrite (2)
  • 開發工具 (6)
  • JSON (1)
  • Excel2007 (1)
  • 試題 (3)
  • LINQ (1)
  • bootstrap (0)
  • Vue (3)
  • IIS7 (3)
  • foodpanda (2)
  • 編碼 (2)
  • 資安 (3)
  • Sourcetree (1)
  • MAUI (1)
  • CMD (1)
  • my sql (1)
最新回應
  • Newtonsoft.Json.JsonConvert.DeserializeObject 失敗的情況
    test...more
  • dotnet ef dbcontext scaffold
    ...more
  • [ASP.NET] 利用 aspnet_regiis 加密 web.config
    ...more
  • IIS ARR (reverse proxy) 服務安裝
    ...more
  • [錯誤訊息] 請加入 ScriptResourceMapping 命名的 jquery (區分大小寫)
    ...more
  • 用 Javascript 跨網頁讀取 cookie (Cookie cross page, path of cookie)
    ...more
  • 線上客服 - MSN
    本人信箱被盜用以致資料外洩,是否可以請貴平台予以協助刪除該信箱之使用謝謝囉...more
  • 插入文字到游標或選取處
    aaaaa...more
  • IIS 配合 AD (Active Directory) 認証, 使用 .Net 6.0
    太感謝你了~~~你救了我被windows 認證卡了好幾天QQ...more
  • PostgreSQL 的 monitor trigger
    FOR EACH ROW 可能要改為 FOR EACH STATEMENT ...more
標籤
  • ad
  • 284
  • 732
  • 266
  • [U2]
  • null
  • z-index
  • 858
  • nsftw
  • 檔案
  • ASPJPEG
  • 安裝
  • separateDi
  • rainbow
  • 4203
  • ef
  • 8220-8205
  • 368
  • CSS
  • 1602
  • 16
  • 376
  • CK,
  • ashx
  • 500.30
  • IIS 匯出
  • intlTelInp
  • config加密
  • ti
  • [t]
  • 318
  • long
  • checked
  • 6122121121
  • 置中
  • cache21211
  • length2121
  • 204
  • login
  • previewpri
  • 848
  • sing
  • Print
  • TLS
  • debug ORDE
  • 54
  • FredCK.FCK
  • 2821211211
  • @@S2efe
  • sp_
頁數 3 / 3 上一頁
搜尋 CSS 結果:
aspx 的 head 下的 link 標籤可以用 ~/ 處理相對位置
最近想說調整後台的master page裡面 javascript 以及 css, 想改為相對位置
卻意外發現 aspx 裡的 head 若有  runat=server
她會特別把 title, meta 以及 link 標籤都設為 server control 
因此 link 的 href 可以調整為毛毛蟲開頭 ~/  它會自動轉為正確的相對位置
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="~/Admin/AdminMenu.css" type="text/css" rel="stylesheet" />

結果是
<head id="Head1"><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../AdminMenu.css" type="text/css" rel="stylesheet" />


不過 javacript 的 src 他就不鳥了...
可能要在 Page_PreRender 自己用 ResolveClientUrl("~/scripts/*.js") 
然後再一個一個append上去
More...
darren, 2012/8/17 下午 12:08:05
CSS 寬度的繼承問題 --> 讓 div 的寬度隨內文變化, 不要和父容器相同
有個困擾很久的老問題:
<div id="divContent" style="border:1px solid black">ABCDE</div>
--> 寬divContent 的度隨內文變化

<div style="width:1000px"><div id="divContent" style="border:1px solid black">ABCDE</div></div>
--> divContent 的寬度會和父容器相同


原來 display 為 block 的物件的寬度都會和父容器相同, 把 display Mode 改為 inline 即可.

<div style="width:1000px"><div id="divContent" style="border:1px solid black; display:inline">ABCDE</div></div>
--> divContent 的寬度會和父容器相同


但 inline 的物件後方可能會跟了些不讓跟的東西, 所以可能要加個 <br> 比較好.
More...
Bike, 2012/5/19 上午 06:39:23
跨瀏覽器網頁設計密技-From www
(1) 各瀏覽器 CSS Hacks 技巧
.page {
color: black; /* 所有瀏覽器 */
color /**/: green; /* IE7, IE8, IE9 */
*color: blue; /* IE6, IE7 */
_color: red; /* IE6 */
}



(2) IE 條件式註解
<!doctype html>
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
<head>

※ 注意事項 ※
微軟已經決定 Internet Explorer 10 之後的版本將移除條件式註解功能,因此下一代 IE 瀏覽器在解析條件式註解時將會與現有其他瀏覽器一樣,針對條件式註解或條件式標籤裡的條件式都會自動忽略,因此未來該功能只能用於 IE9 以下的瀏覽器裡。

資料來源:http://blog.miniasp.com/post/2012/05/02/Building-Website-is-not-that-easy-CSS-Hacks-and-IE-Conditional-Comments.aspx

More...
Reiko, 2012/5/7 下午 12:03:35
input的CSS樣式,分別對應type=text,submit,chekbox...的寫法

<style type="text/css">

INPUT {border: 1px solid #D4D0C8;width: 200px;}

input[type=text] {background-color: #FFCC33;}

input[type=checkbox],input[type=radio] {width: 20px;border: 0px;}

</style>

More...
Reiko, 2012/5/4 下午 07:22:09
外掛 Lazy Load-延遲載入網頁圖片

資料來源:http://www.dotblogs.com.tw/demarco/archive/2010/08/03/16980.aspx

為了減輕server loading
圖片的顯示 加上了JQuery外掛 Lazy Load
讓圖片延遲載入

瀏覽器 拉到該可視範圍內
圖片才載入

前提必須有jquery

接著需下載
queryLoader.js
jquery.lazyload.mini.js

塞進所用呈現的檔案內

 <head>
  <title>test</title>
  <script type="text/javascript" src="jquery-1.2.6.pack.js"></script>
  <link rel="stylesheet" href="queryLoader.css" type="text/css" />
  <script type='text/javascript' src='jquery.lazyload.mini.js'></script>
</head>

並加上

 <script type="text/javascript">
  $("img").lazyload({ effect: "fadeIn" });
</script>


img就是html的

<img src="/images/001.gif" />


下載Lazy Load網址:http://www.appelsiini.net/projects/lazyload

More...
Reiko, 2012/3/28 下午 02:23:40
|< 123 >|
頁數 3 / 3 上一頁
~ Uwinfo ~