TAILIEUCHUNG - Professionali Phone and iPod touch Programming phần 9

trong khi là một giá trị float giữa 0,0 và 1,0 (0,0 là hoàn toàn minh bạch, và là hoàn toàn mờ đục). Ví dụ, các mã sau đây rút ra hai vòng tròn trong tấm bạt. Các vòng tròn lớn có minh bạch một giá trị 90%, trong khi các vòng tròn nhỏ hơn 30% | Chapter 10 Packaging Apps as Bookmarks Bookmarklets and Data URLs the encoded styles keep only the iUI styles that you are using for this mini application. Here is the new style element that replaces the reference style type text css media screen body margin 0 font-family Helvetica background FFFFFF color 000000 overflow-x hidden -webkit-user-select none -webkit-text-size-adjust none body .toolbar box-sizing border-box -moz-box-sizing border-box border-bottom 1px solid 2d3642 border-top 1px solid 6d84a2 padding 10px height 45px background url 6d84a2 repeat-x .toolbar h1 position absolute overflow hidden left 50 margin 1px 0 0 -75px height 45px font-size 20px width 150px font-weight bold text-shadow rgba 0 0 0 0px -1px 0 text-align center text-overflow ellipsis white-space nowrap color FFFFFF input box-sizing border-box width 100 margin 8px 0 0 0 padding 6px 6px 6px 44px font-size 16px font-weight normal body .panel box-sizing border-box padding 10px background c8c8c8 url .panel fieldset position relative margin 0 0 20px 0 padding 0 232 Chapter 10 Packaging Apps as Bookmarks Bookmarklets and Data URLs background FFFFFF -webkit-border-radius 10px border 1px solid 999999 text-align right font-size 16px .row position relative min-height 42px border-bottom 1px solid 999999 -webkit-border-radius 0 text-align right fieldset .row last-child border-bottom none important .row input box-sizing border-box margin 0 border none padding 12px 10px 0 110px height 42px background none .row label position absolute margin 0 0 0 14px line-height 42px font-weight bold .panel h2 margin 0 0 8px 14px font-size inherit font-weight bold color 4d4d70 text-shadow rgba 255 255 255 2px 2px 0 style Encoding Images While you now have all of the styles and scripting code inside of the HTML document there is one last issue. Two of the styles reference external images for backgrounds. Therefore in order to use them you need to encode these images first. The

TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.