Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Kỹ thuật lập trình
ASP.NET 4 Unleased - p 28
Đang chuẩn bị liên kết để tải về tài liệu:
ASP.NET 4 Unleased - p 28
Hoàng Dũng
132
10
pdf
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Designing Websites with Master Pages .ad { margin-top:20px; } .clear { clear:both; } Default Master From the Library of Wow! eBook Creating Master Pages 245 The content page in Listing 5.4 uses the Master Page in Listing 5.3. It does not include a Content control that corresponds to the contentAd control | 244 CHAPTER 5 Designing Websites with Master Pages .ad margin-top 20px .clear clear both style title Default Master title head body form id form1 runat server div class content div class leftColumn asp contentplaceholder id ContentPlaceHolder1 runat server div div class middleColumn asp ContentPlaceholder id ContentPlaceHolder2 runat server div div class rightColumn asp ContentPlaceHolder id contentAd Runat server asp Image id imgAd ImageUrl BannerAd.gif CssClass ad AlternateText Advertisement for Superexpert ASP Workshops Runat server asp ContentPlaceHolder div br class clear div form body html From the Library of Wow eBook Creating Master Pages 245 The content page in Listing 5.4 uses the Master Page in Listing 5.3. It does not include a Content control that corresponds to the contentAd control in the Master Page. When you open the page in a browser the default banner advertisement displays. LISTING 5.4 DefaultContent.aspx @ Page Language C MasterPageFile DefaultMaster.master asp Content ID Content1 ContentPlaceHolderID ContentPlaceHolder1 Runat Server Content in the first column br Content in the first column br Content in the first column br Content in the first column br Content in the first column 5 asp Content asp Content ID Content2 ContentPlaceHolderID ContentPlaceHolder2 Runat Server Content in the second column br Content in the second column br Content in the second column br Content in the second column br Content in the second column asp Content Of course you do have the option of adding a Content control that overrides the default content contained in the contentAd control in the Master Page. For example you might want to display different banner advertisements in different sections of your website. NOTE You can nest ContentPlaceHolder controls in a Master Page. If you do this you have the option of overriding greater or smaller areas of content in the Master Page. Nesting Master Pages When building a large website you might need to create multiple .
TÀI LIỆU LIÊN QUAN
crossorigin="anonymous">
Đã 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.