Posted by : Rhyf Ahmad Wednesday, May 20, 2015

When HTML was first introduced by Tim Berners - Lee, it was intended to be a simple way for researchers using the Internet to format and cross - link their research documents. At the time, the Web was still primarily text - based; therefore, the formatting requirements for these documents were fairly basic. HTML needed only a small handful of basic layout concepts such as a title, paragraph, headers, and lists.
As the Web was opened up to the general public, graphical browsers were introduced, and as requirements for formatting Web pages continued to expand, newer versions of HTML were introduced. These newer versions expanded the original capabilities of HTML to accommodate the new, rich graphical browser environment, allowing table layouts, richer font styling, images, and frames. Although all of these improvements to HTML were helpful, HTML still proved to be inadequate for allowing developers to create complex, highly stylized Web pages. Therefore, in 1994 a new technology called Cascading Style Sheets (CSS) was introduced. CSS served as a complementary technology to HTML, giving developers of Web pages the power they needed to finely control the style of their Web pages. As the Web has matured, CSS has gained popularity as developers realized that it has significant advantages over standard HTML styling capabilities. Unlike HTML, which was originally conceived as primarily a layout mechanism, CSS was conceived from the beginning to provide rich styling capabilities to Web pages.
The cascading nature of CSS makes it easy to apply styles with a broad stroke to an entire application, and only where necessary override those styles. CSS makes externally defining Web site style information easy, allowing for a clear separation of Web page style and structure. CSS also allows developers to greatly reduce the file size of a Web page, which translates into faster page load times and reduced bandwidth consumption. Although the point of this chapter is not to convince you that CSS is the best solution for styling your Web site, it will help you understand how you can leverage these technologies in your ASP.NET - based Web applications. The chapter starts with a brief overview of CSS and how it works with HTML, and then moves into creating Web sites in Visual Studio using HTML and CSS. Finally, you look at how you can use ASP.NET and CSS together.

Contents:

Caveats
HTML and CSS Overview
  1. Creating Style Sheets
  2. CSS Rules
  3. CSS Inheritance
  4. Element Layout and Positioning

Working with HTML and CSS in Visual Studio
  1. Working with CSS in Visual Studio
  2. Managing Relative CSS Links in Master Pages
  3. Styling ASP.NET Controls 




Ebook Preview
Get the ebook now (675 kB)

If the link above doesn't work, try the link below


Mirror: Get the ebook now (675 kB)

Leave a Reply

You can leave a comment to request any article(s), software(s), ebook(s) or report the dead link.
Then I will reply as soon as I can :)

Subscribe to Posts | Subscribe to Comments

Welcome to My Blog

Recent Post

Recent Posts Widget
Instagram

- Copyright © Madriva -Robotic Notes- Powered by Blogger - Designed by Johanes Djogan -