Tuesday, February 5, 2013
HTML Website and Tamplate Page Designing with CSS
Admitting that we realize that numerous individuals today use Content Management System CMS or Content Administration Frameworks to look after your web space or website. There are still webmasters who do custom work. The pages of their locales have a private touch. It may be magnetic or attractive for the users to see confined part of its substance. This presupposes making a case, for which I will illustrate, utilizing a table that is dependent upon a class made as CSS.
This needs, to start with, make a class that can be saved as we stated as a CSS style sheet. This class might have the accompanying structure:
The class name is .styleClass. It several parameters working elaborate as under:
1. background-color: The background color of the .styleClass is Black and its code is #000.
2. border: Borders of the class that has a thickness of 1 pixel and its color code # CCC.
3. padding: It shows the detachment between the internal edge and the territory in which the content material is to be call for working. For our situation is 2 pixels on every last one of the four sides.
To call this class can utilize two strategies. Introducing into the zone <head>…</head> document the definition as follows:
Or create a style sheet, if you have not already created, and put in the same class definition box. If that sheet is called styles.css and css in the styles folder, you must call in your document, also within the area <head> ... </ head>, with the following statement:
<link href=”css/styles.css” rel=”stylesheet” type=”text/css” media=”all” />
What you need to do now is utilization the style on your locale website, your blogs and web pages. To do this we will make a table used to keep the content. Something similar to the following:
Save this file as index.html and open it into your browser and see the results. Enjoy it!