×
Namespaces

Variants
Actions

CSS example

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Article
Created: Korpela (29 Oct 2007)
Last edited: hamishwillee (30 Jul 2012)

Here is CSS example :

/* The following style applies to body tag of html */
body
{
font-size: small;
margin: 0px;
text-align: left;
background-color: #FFFF00;
padding: 3px;
}
 
{
font-size: small;
color: #4f4f4f;
padding: 0px;
margin: 0px;
border-width: 0px;
border-style: none;
border-color:white;
}
/* The following style applies to anchor tag of html */
 
a { text-decoration: none;}
 
/* The following style applies to li tag of html */
li{
list-style-type:circle;
list-style-position:inherit; }
 
/* The following style applies to any html tag whose class is assigned "left" */
 
.left{
text-align:left;
vertical-align:top;}
 
/* The following style applies to any html tag whose class is assigned "center" */
.center {text-align:center;}
 
/* The following style applies to any html tag whose class is assigned "right" */
 
.right {
text-align:right;
font-weight:bold;
text-decoration:underline;
vertical-align:top; }
 
/* The following style applies to img tag of html */
 
img{
border-width: 0px;
border-style: none;
margin: 0px;
padding: 0px;
}
 
/* The following style applies to div tag of html */
 
div{
border-width: 0px;
border-style: none;
margin: 0px;
padding: 0px;
vertical-align: top;}
/* The following style applies to tr and td tag of html */
 
tr,td {
border-width:thick;
border-color:silver;}
This page was last modified on 30 July 2012, at 10:54.
62 page views in the last 30 days.
×