How to Attach External CSS Files in a Web Form


show more Attaching external CSS files provides you with in-depth training on Developer. Taught by David Gassner as part of the ASP.NET Essential Training show less
please wait ...

Attaching external CSS files

The first step in creating a Cascading Style Sheet visual design in an ASP.NET website is to create and attach an external style sheet file. External style sheet files are simple text files that are placed in the Websites Root folder or in a sub-folder of the root. They always have a file extension of .css. The task of actually creating the style sheet file can be done either as pure text or pure coding exercise or it can done using Visual Web Developer tools. I'm going to be working with a website that already has a number of files in it. Go to the Visual Web Developer menu and select File > Open Web Site.

Navigate to the VisualDesign folder under Chapter06 VisualDesign and click Open. In this website, there are four primary pages: Default.aspx, which is the homepage of the website, and then three other pages, Authors, Publishers and Titles. There is a server control called Header.ascx, which is used by all four pages, which contains a number of hyperlinks wrapped inside ASP p...

Attaching external CSS files
Video duration: 3m 12s 6h 24m Beginner Updated Feb 13, 2013

Viewers:

Attaching external CSS files provides you with in-depth training on Developer. Taught by David Gassner as part of the ASP.NET Essential Training

Subjects:
Developer Web
Software:
ASP.NET
Author:
please wait ...