Đăng ngày: 19:07 08-06-2008
Tình hình là nhà nhà bản quyền, người người bản quyền. Với lại sau vụ "mất bò" vừa rồi bạn cũng sáng mắt ra nhiều lắm, ai bảo bạn không theo kịp thời đại, không gắn cái mác bản quyền vào cho người ta sợ. Thôi giờ lo làm chuồng cũng chưa muộn đâu nhỉ. Vâng con dấu của bạn đây

:
Author: m3Noa - 08 Jun, 2008 - Copyright © 2008.
*Please ask for permission before copying this.
Hehe, áp dụng kỹ thuật Round Corners nhé, mà cái này thuần túy code không đụng đến tí image nào. Ưu điểm là dung lượng vô cùng gọn nhẹ

. Vâng code của nó đây =)):
Code:
<div align="right">
<div align="center" style="width:302px;font-family:Arial, Helvetica, sans-serif;font-size:12px;">
<div style="width:294px; border-left: 1px solid #4444dd; border-right: 1px solid #4444dd;">
<div style="width:292px; height:0px; border-left: 1px solid #4444dd; border-right: 1px solid #4444dd; border-top: 1px solid #4444dd;background:#4444dd;"></div></div>
<div style="width:296px; border-left: 1px solid #6666FF; border-right: 1px solid #6666FF;">
<div style="width:294px; height:1px; border-left: 1px solid #4444dd; border-right: 1px solid #4444dd;background:#3333cc;"></div></div>
<div style="width:298px; border-left: 1px solid #6666FF; border-right: 1px solid #6666FF;">
<div style="width:296px; height:1px; border-left: 1px solid #4444dd; border-right: 1px solid #4444dd;background:#2222bb;"></div></div>
<div style="width:298px; border-left: 1px solid #6666FF; border-right: 1px solid #6666FF;">
<div style="width:296px; height:1px; border-left: 1px solid #4444dd; border-right: 1px solid #4444dd;background:#2222bb;"></div></div>
<div style="width:300px; border-left: 1px solid #6666FF; border-right: 1px solid #6666FF;">
<div align="center" style="width:298px; border-left: 1px solid #4444dd; border-right: 1px solid #4444dd;background:#1111aa;">
<div style="width:275px;text-align:justify;color:#E3ECFB;padding:4px 0px 4px 10px;">
Author: m3Noa - 01/01/2008 - Copyright © 2008.<br />
<span style="color:#FF7723;font-weight:bold;font-size:11px;">*Please ask for permission before copying this.</span><br />
</div>
</div></div>
<div style="width:298px; border-left: 1px solid #6666FF; border-right: 1px solid #6666FF;">
<div style="width:296px; height:1px; border-left: 1px solid #4444dd; border-right: 1px solid #4444dd;background:#2222bb;"></div></div>
<div style="width:298px; border-left: 1px solid #6666FF; border-right: 1px solid #6666FF;">
<div style="width:296px; height:1px; border-left: 1px solid #4444dd; border-right: 1px solid #4444dd;background:#2222bb;"></div></div>
<div style="width:296px; border-left: 1px solid #6666FF; border-right: 1px solid #6666FF;">
<div style="width:294px; height:1px; border-left: 1px solid #4444dd; border-right: 1px solid #4444dd;background:#3333cc;"></div></div>
<div style="width:294px; border-left: 1px solid #6666FF; border-right: 1px solid #6666FF;">
<div style="width:292px; height:0px; border-left: 1px solid #4444dd; border-right: 1px solid #4444dd;background:#4444dd; border-bottom: 1px solid #4444dd;"></div></div>
</div></div>
|
Dài ko =))?! Có mỗi cái đoạn bé tí thế mà code lắm nhờ

.
Thật ra làm một block có round corner nếu dùng image thì đơn giản hơn nhiều, có điều sẽ làm tăng thêm http Request và tăng dung lượng của trang Web. Có thể nói là thất sách

.
Chúa Ơi 12:16 23-10-2009
Tất cả những bài viết của bạn mình đã đều xem qua và thật hay
Chúc bạn luôn bình an nhé!
Vni 03:53 09-06-2009
*Please ask for permission before copying this.
Always Together - 12B6 13:16 02-04-2009
boycityfunny1992 13:28 07-11-2008
*Please ask for permission before copying this.
ToRiKaChiN8 01:10 28-08-2008
ToRiKaChiN8 01:08 28-08-2008
*Please ask for permission before copying this.
(`'•.PrInCeSs ღ [Arilovely]ღ †Four Leaves Clover†.•'`) 12:32 11-06-2008
Noa18:56 13-06-2008
songuku99 09:52 10-06-2008
hehe, i mean persistent, not pipelining. Yup, I agree there is still a tiny delay even when persistent is used. But the delay is not that much (just about 1 extra packet which is a lot smaller than 0.2s to create a new TCP connection). About pipelining, I don't know about the browser side until you told me: useful information to know. On the server side, many servers disable pipelining to avoid being flooded.
Regarding the ad contract: bạn Noa tốt bụng quá. Có thêm 1 người bạn tốt bụng để thảo luận như bạn Noa là quan trọng hơn, Chừng nào songuku làm page đẹp đẹp thì sẽ đăng kí quảng cáo với bạn Noa
Noa07:29 11-06-2008
Roni 19:39 09-06-2008
9 day ban. 1 ngay 2 ngay ma`ko vao blog ban thi ko nhan ra mat'
entry nhanh wa' h`ihi`
mai~ chua dc tem phat nao`... hix hix
Noa05:48 10-06-2008
songuku99 12:54 09-06-2008
Hehe, ok, I agree with you that the size itself shouldn't matter cuz all file will be rounded up to packet size.
But still disagree about the HTTP request. A single background image should only take 1 request. And if the code and image are from same server, the 2 requests should use the same TCP connection since most server support persistent connection now, which doesn't cost 0.2s delay.
Noa05:46 10-06-2008
And about HTTP Request, hehe, I think you're talking about HTTP pilelining, not HTTP persistent connection. Although persistent connection has many advantage, but it still has delay time between each request from client and response from server.
Pipelining is a good technique, but requires both the client and the server to support it. IE7 still doesn't support pipelining, FF 2.0.* support but it's disabled by default.
Hehe, I don't know much about network, but I just only say what I understood or my experience, and maybe I'm wrong
(`'•.PrInCeSs ღ [Arilovely]ღ †Four Leaves Clover†.•'`) 10:30 09-06-2008
songuku99 01:05 09-06-2008
hehe I disagree. Looks like the html code is bigger than a gif image (i did a quick comparision, may be inccorect). Plus, new version of HTTP has persistent connection so if both the text and image are from the same server (yahoo), it doesn't make big difference. But I think the advantage of your code is that it can quickly generate different sizes and shapes by just adjusting the width, without using photoshop.
Regarding the ad contract, it sounds like it only benefits me, but not you
Noa04:03 09-06-2008
About the ad-contract,... hehe, don't make me change my mind
Fe 23:33 08-06-2008
Noa04:04 09-06-2008
[W].Dephia 20:25 08-06-2008
*Please ask for permission before copying this.
[W].Dephia 20:23 08-06-2008
*Please ask for permission before copying this.
[W].Dephia 19:56 08-06-2008
Noa19:59 08-06-2008
Lonely 19:42 08-06-2008
Noa19:45 08-06-2008
[W].Dephia 19:41 08-06-2008
Noa19:43 08-06-2008
[W].Dephia 19:37 08-06-2008
Noa19:40 08-06-2008
[W].Dephia 19:36 08-06-2008
[W].Dephia 19:35 08-06-2008
Vũ Nguyễn 19:35 08-06-2008