TAILIEUCHUNG - Professional ASP.NET 3.5 in C# and Visual Basic Part 13

Professional in C# and Visual Basic Part 13. Building on the revolutionary release, adds several key new developer features including AJAX, LINQ, and a new CSS designer in Visual Web Developer 2008. The dramatic reduction in code that developers realized from the more than 50 new server controls in now allows developers the time to make their applications more interactive with AJAX, to work with data in their preferred language with LINQ, and to build visually attractive and consistent standards-based sites with CSS. . | Chapter 2 Server Controls and Client-Side Scripts This text string is changed by the CSS included in the p element so that the string appears bold and blue. Using the style attribute of the p element you can change everything that appears between the opening and closing p elements. When the page is generated the first style change applied is to the text between the p elements. In this example the text has changed to the color blue because of the color blue declaration and then the font-weight bold declaration is applied. You can separate the styling declarations using semicolons and you can apply as many styles as you want to your elements. Applying CSS styles in this manner presents the same problem as simply applying various HTML style elements this is a tough structure to maintain. If styles are scattered throughout your pages making global style changes can be rather time consuming. Putting all the styles together in a stylesheet is the best approach. A couple of methods can be used to build your stylesheets. Working with the Visual Studio Style Builder Visual Studio 2008 includes Style Builder a tool that makes the building of CSS styles fairly simple. It can be quite a time saver because so many possible CSS definitions are available to you. If you are new to CSS this tool can make all the difference. The Visual Studio Style Builder enables you to apply CSS styles to individual elements or to construct your own stylesheets. To access the New Style tool when applying a style to a single page element highlight the page element and then right-click it. From the menu that appears select Style. Style Builder is shown in Figure 2-5. You can use the Visual Studio Style Builder to change quite a bit about your selected item. After making all the changes you want and clicking OK you see the styles you chose applied to the selected element. Creating External StyleSheets You can use a couple of different methods to create stylesheets. The most common method is .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.