摘錄於 http://bbs.zdnet.com.cn/thread-108803-1-1.html <SCRIPT LANGUAGE="javascript"> <!-- if (window.navigator.userAgent.indexOf("MSIE")>=1) { var IE1024=""; var IE800=""; var IE1152=""; var IEother="";
前言網站設計的最佳化是一個很大的話題,有一些通用的原則,也有針對不同開發平台的一些建議。這方面的研究一直沒有停止過,我在不同的場合也分享過這樣的話題。 作為通用的原則,雅虎的工程師團隊曾經給出過35個最佳實務。這個列表請參考 Best Practices for Speeding Up Your Web Site http://developer.yahoo.com/performance/rules.html ,同時,他們還發布了一個相應的測試載入器Yslow
Two Column FlexibleBrowsers: ' ' ' ' (5+) Description: Probably the easiest page to make. Contains two layout divs, the main content div is just floated to the left. Very simple! Actions: View | Image Preview | Download [ 5k] [ZIP] Two Column
這幾天都在學習css,由於以前接觸的比較少,只是會簡單得運用,所以學習起來有點困難,特別在布局方面,雖然網上好多例子,但是到現在我對布局還沒有系統的掌握。 布局通過position屬性進行的,它有以下幾種取值: static 預設值。無特殊定位,對象遵循HTML定位規則 absolute 將對象從文檔流中拖出,使用 left , right , top , bottom 等屬性相對於其最接近的一個最有定位設定的父物件進行絕對位置。如果不存在這樣的父物件,則依據 body
在實際的網頁開發中,大部分時間都要涉及到Form表單的處理。在Ext架構中也提供了很多這方面的控制項,而且還有一個專門的FormPanel布 局,該布局預設為放在面板上面的所有控制項都是換行放置,而在實際應用中為了美觀,有些需要橫排,特別是Radio控制項,這個時候就需要我們重新定製這些控 件的布局了,該例子中使用CSS來實現這些功能,先貼出一張。<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
from: http://www.brainjar.com/css/positioning/default.aspBox:1. Margins are always transparent.2. Background settings aplly to padding and content areas.3. The width and height of each box is equal to the width and height of the outer margin box.4.