Home News Blog



MSN Random Online

A blog of all sections with no images
CSS li (List Item) PDF Print E-mail
Written by Administrator   
Monday, 17 September 2007 03:11

CSS li

Defines the properties for an item in a list.

Browser/User Agent Support

IE Netscape Mozilla Opera Safari
2.0+ 1.0+ 1.0+ 4.0+ 1.0+

Example

 

This example sets the style for all list items to "square":


li {
list-style-type:square;
}

Remarks

Style rules for "li" elements will apply to elements in both ordered and unordered lists.

 
CSS input (Input) PDF Print E-mail
Written by Administrator   
Monday, 17 September 2007 03:10

CSS input

Defines the properties for an input field on a form.

Browser/User Agent Support

IE Netscape Mozilla Opera Safari
2.0+ 1.0+ 1.0+ 4.0+ 1.0+

Example

 

This example adds a border and padding around all input elements:


input {
border-color: black;
border-style: solid;
border-width: thin;
padding: 3px;
}

Remarks

You will usually use classes and id's to style individual input elements, rather than styling all input elements at once.

 
CSS i (Italics) PDF Print E-mail
Written by Administrator   
Monday, 17 September 2007 03:09

CSS i

Defines the properties for a block of text formatted as italics.

Browser/User Agent Support

IE Netscape Mozilla Opera Safari
4.0+ 4.0+ 1.0+ 4.0+ 1.0+

Example

 

This example adds an underline to all text enclosed by the "i" element:


i {
text-decoration: underline;
}

Remarks

You will not usually need to style the "i" element differently than its default settings.

 
CSS hr (Horizontal Rule) PDF Print E-mail
Written by Administrator   
Monday, 17 September 2007 03:08

CSS hr

Defines the properties for a horizontal rule.

Browser/User Agent Support

IE Netscape Mozilla Opera Safari
2.0+ 1.0+ 1.0+ 4.0+ 1.0+

Example

 

This example styles an hr element:


hr {
color: red;
padding-top: 10px;
padding-bottom: 10px;
}

Remarks

You can use CSS styles to change things such as the the color and amount of padding around a horizontal rule.

 
CSS h6 (Heading 6) PDF Print E-mail
Written by Administrator   
Monday, 17 September 2007 03:07

CSS h6

Defines the properties for a Heading 6 element.

Browser/User Agent Support

IE Netscape Mozilla Opera Safari
2.0+ 1.0+ 1.0+ 4.0+ 1.0+

Example

 

This example styles an h6 element:


h6 {
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 10pt;
font-weight: bold;
color: black;
}

Remarks

You can specify different amounts of padding above and below a heading to group it visually with other elements.

 
CSS h5 (Heading 5) PDF Print E-mail
Written by Administrator   
Monday, 17 September 2007 03:06

CSS h5

Defines the properties for a Heading 5 element.

Browser/User Agent Support

IE Netscape Mozilla Opera Safari
2.0+ 1.0+ 1.0+ 4.0+ 1.0+

Example

 

This example styles an h5 element:


h5 {
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12pt;
color: black;
padding-top: 3px;
padding-bottom: 0px;
}

Remarks

You can specify different amounts of padding above and below a heading to group it visually with other elements.

 
«StartPrev12345678910NextEnd»

Page 5 of 24
 

Top Members

No top members yet.