Use of CSS to control all layout of web pages is strongly encouraged. Resist using HTML to control any presentation at all. Tables should only be used for tabular data.
To associate a CSS page with a HTML page a LINK should be placed within the header section.
Within Visual Studio, import or add a CSS page to a project, and then drag it into the header.
Example of CSS element:
p
{
font-weight: normal;
font-size: medium;
color: black;
font-family: Verdana;
}
Example of CSS (user defined) Class:
.headerlabel
{
font-weight: bold;
font-size: large;
vertical-align: middle;
color: red;
background-color: black;
text-align: center;
}
No comments:
Post a Comment